Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Business directory within links directory

Quote Reply
Business directory within links directory
Hello

We are trying to create a category within links that will have a listing of detailed businesses (paid only).

Each business will have the bility to add:
  • Addres
  • Email
  • Website
  • Directions
  • Services
  • General information.
  • Phone
  • Fax
  • Business photo.
  • others.

The categories will be the country, then the state, then the city then the type (school, business), Then the business detailes page will be built to reflect that information.

The problem is we do not want these businesses to appear when a regular search is performed, we want them to have their owne search script and possible owne index file.
We still, want the category pages to be built as with regular links.
Also we want the user to be able to search by zip code or state or any other field.

Is that doable with one installation of Glinks or do we have to creat a custom plug in to do this or have to buy another glinks licence?

The reason we prefer one installation or a plug in to the current one is the ease to maintain one users database and one set of template to edit.

Any thoughts on this?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Business directory within links directory In reply to
I would say that it is possible within one install.

Basically, these are some of the things you should consider:

Use toplevel categories:
- Links (example, ID=1)
- Businesses (example, ID=2)

Make special template for business, use in catid 2.

For search, you should only use searches within categories. (you need something smarter if you for some reason want to make it totally impossible to search all, but removing the option is the user interface should enable users to only search for links or businesses.

You'll need a number of if-statements and such.
You could set some variables for headings and text in different categories in, say, include_common_head.html:
<%set item='page'%><%set items='pages'%>
<%if CatRoot eq '1' or ID eq '1'%> <%set item='links'%><%set items='links'%><%endif%>
<%if CatRoot eq '2' or ID eq '2'%> <%set item='businesses'%><%set items='businesses'%><%endif%>
Quote Reply
Re: [gotze] Business directory within links directory In reply to
Thanks
We are planning for this to be a major add on to the service we are providing.
we have looked at many similar sites, and I believe your suggestions will work but will have a lot of fixes along the way.
We are leaning toward a custom plug in that will do this and has its own template set, table, search script and add script.
But till the final idea matures we will continue to explore the possibilities.
Thank you again
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Business directory within links directory In reply to
We have figured out most of the pieces needed to integrate the directory within links.
For now we have a question :

When a link is modified and the admin has to review it first before its final.. if the admin select delete will that reverse the changes or delete the whole link?

And is there a way to make adding a link requires username but modify a link does not. So anyone can send an update to the listing and the admin will have to approve it first.

Thank you
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory