1
rob777
Directory with multiple level categories
  • 2005/2/8 22:34

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Hi gurus,

Maybe there is already something out there that I am looking for but I can't find it. If it exsists could you point me to it. If not, maybe one of you awesome xoopers could take a minute and modify a module out of the goodness of your hearts.

I need a module that I can set up like this.

Function- to allow professionals (advisors, agents, brokers, etc.) to place a brief text advertisment. They would post the zip code of the areas they service in the headline, their experience, contact info, bio, etc in the description area. Then my visitors can browse through the listings to find proffessionals in their area.

Admin configuration- I could set-up the categories like this,
on the main page there would be "real estate agents" "Financial advisors" Stock Brokers" "Insurance agents".

Then after you click the Real Estate agents cat, you see a list of states and providences (that I add from the admin panel when needed).

Click on a state and you get the listings for that state.

A very cool feature that would really make this module awesome is if you could somehow make the each of the main topic categories searchable by zip codes.

--------------------------------------
The mylinks module is the closest thing I can find to what I need, except I don't want the headline to be a clickable link.

Perhaps one of you could point out how to modify the mylinks module for what I need.

I already run mylinks for my link directory, so how would I install another mylinks module if I wanted to use it for this directory?

How could I eliminate the link feature of the headline? I would rather keep the headline as text, and put the url (if included) at the end of the professional's description, bio, and such. You know, keep the url at the bottom with the rest of their contact info.


Thanks everyone,
Rob

2
m0nty
Re: Directory with multiple level categories
  • 2005/2/8 22:57

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yellow pages module? xdirectory? web links? addresses modules (they could be modified more than likely)

modifying will take longer but you could easily change the actual fieldnames such as description or homepage etc just by modifying the language files.. templates are easy to modify.. the php files tho need a little knowledge.. it depends exactly on what u want..

3
WarDick
Re: Directory with multiple level categories
  • 2005/2/9 0:11

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Check out Weblinks . It should take care of most if not all of your requests.

4
rob777
Re: Directory with multiple level categories
  • 2005/2/9 0:38

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Thanks for the replies.

I had xdirectory and it wasn't quite what I was looking for.

I can't do the php changes without instructions. I don't know anything about php, I'm still learning. But if told which files to look in, and which commands to look for, AND what to change them too, I can do that. Although once in awhile I can find my way to make minor changes, but nothing major.

I think the Weblinks is gonna be the one. I'm uploading to my server right now. By the description of it's features, it sounds like the perfect fit.

Many thanks, M0nty, and WarDick!

Later,
Rob

5
rob777
Re: Directory with multiple level categories
  • 2005/2/9 5:12

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Ok! Weblinks is what I needed! Cool Thanks.

Now...could someone help me out with a a problem I'm having??

I want to get rid of the RSS and atom links in Weblinks (I don't need news feeds of business cards, and if I don't need them I would rather erase them from the visitors view).

I also want to get rid of the "guidence bars" that have the "random", "Popular", Mutual sites", etc.

How do I get rid of these????

I don't see the options in the admin panel.

I tried deleting them from the templates/weblinks_header.html and weblinks_index.html.

I tried commenting them out with "//" and completely removing them from header.php; index.php; and language/english/main.php

What am I missing? Is there some kind of overwrite that doesn't let you change this, or what?? I'm going cross-eyed looking through all these files. Please help!

Thanks,
Rob

6
WarDick
Re: Directory with multiple level categories
  • 2005/2/9 5:49

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


If you changed the template of the distribution you will need to update the module in the admin panel.

7
rob777
Re: Directory with multiple level categories
  • 2005/2/9 6:41

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Thanks WarDick! That worked!

I never realized you had to update the module after messing with the templates. I tweaked some things in other modules, but they were php files, and they showed right up when I reloaded the page. Man, I think I'm learning.

Thanks so much!
Rob

8
rob777
Re: Directory with multiple level categories
  • 2005/2/12 3:53

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Ok I am using the Weblinks module.

Is there a way to turn off the url in the website title? I want the directory to only display the website title as a "title" and not be clickable. The links to the person's website (if they have a website) will be clickable from the description section where they give their contact details.

So the listing would look like this,

title= 518 Capitol NY Region

Description=
John Doe
Hefty Credit services
222 2nd street
Albany, NY 19515

518-555-5555
john(at}comp.com
ww w.bettercredit.neet

Hi there, I have been credit managing for 100 years,
Blah Blah blah...

I hope I can serve you, blah blah



I want to use this directory as a service finder directory and not a link directory. The only clickable links I want are from in the body of the listing.

Any ideas how to turn off the linking function from the title area? I've looked in the admin panels and can't find anything in there that does this; I've looked through the php files, but I don't know exactly what I'm looking for, so I didn't find anything there. And I can't find any post here at XOOPS that discuss this.

Thanks,
Rob

9
WarDick
Re: Directory with multiple level categories
  • 2005/2/12 9:02

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Look in the templates directory. You can find what you what in the various html files.

10
rob777
Re: Directory with multiple level categories
  • 2005/2/12 16:42

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Thanks again Richard.

Incase any other newbies are looking to do the same, here is what I found.

to remove the link from the headline you have to go to templates/weblinks_linklist.html and change this by removing the red line shown below.
Quote:
<table class="outer" width="100%" cellspacing="0">
<tr>
<td class="head" colspan="2" align="left" valign="bottom">

<{if $link.flag_url == 1}>
<a href="<{$module_url}>/visit.php?lid=<{$link.lid}>" target="_blank">
<font size='+1'><{$link.title}></font>&nbsp;&nbsp;
</a>
<{else}>
<font size='+1'><{$link.title}></font>&nbsp;&nbsp;
<{/if}>


That removes the hotlink from the Title in the list of listings.


To remove the hotlink from the title of listing itself, you will also have to go to templates/weblinks_link.html modify the following.
Quote:
<table class="outer" width="100%" cellspacing="0">
<tr>
<td class="head" width="60%" align="left" valign="bottom">

<{if $link.flag_url == 1}>
<a href="<{$module_url}>/visit.php?lid=<{$link.lid}>" target="_blank">
<img src="<{$module_url}>/images/link.gif" border="0" alt="<{$lang_visit}>" />

<font size='+2'><{$link.title}></font>
</a>
<{else}>
<font size='+2'><{$link.title}></font>
<{/if}>



Then go to the modules admin and update the weblinks module.


There is probably a better way or cleaner way of doing this, but this worked for me.

Thanks,
Rob

Login

Who's Online

192 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits