Gossamer Forum
Home : Products : Gossamer Links : Discussions :

add a links-column or category-column ?

Quote Reply
add a links-column or category-column ?
Hi,

I have two questions:

1)
When I want to "add a column" in the "Links Properties" (directory is being used to organize listings of businesses, a column displaying the locations of those businesses), is there also a possibility to have different colums used for different links ?

What I mean:
For one link I want to use the colums: "name", "address", "phone-number".
For another link I want to use the colums: "name", "address", "phone-number", "mobile-phone", "homepage".

2)
Another question:
When do I need to "add a column" in the categories ? (Edit Category Table Definition[/url]). What is the use for this ? Do I need that ? Any ideas of the advantages of that?


What is actually the difference of "adding a links-column" or "adding a category column" ?



Thanks very much for your help !

Erich Blush

http://www.drugstore.net
Quote Reply
Re: [erichcyber] add a links-column or category-column ? In reply to
You could add a column to the Category table if you want something displayed on Category pages. For example, you may want to display some extra text at the top of every category page which changes with each category.

If you want to display different columns for different links, I would add a new column called something like extraCols set to 'Yes' for those Links for which you want to display the extra information. Then in your link.html template you can have

<%if extraCols eq 'Yes'%>Mobile: <%mobile-phone%><%endif>%