Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: how does alternate categories works?

Quote Reply
Re: how does alternate categories works? In reply to
Right now alternate categories are selected in the "admin" area.

The whole logic for this section of the code has changed, and will be different in the next version. It should be easier to add alternate categories, and to work with them.

In order to create alternate categories, the link has to have a LinkID. You can make some hacks around it, but they are ugly and won't be portable to the next version. If you want to have additional categories in the "add.cgi" routines, you'll have to 'hard' code them, and have a max number of categories, etc. The Links/Validate database is set up to hold one category, then you create the 'altertnates' in the CategoryAlternates table, using LinkID=>CategoryID type pairing.





http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Subject Author Views Date
Thread how does alternate categories works? startpoint 2261 Aug 14, 2000, 10:11 AM
Thread Re: how does alternate categories works?
pugdog 2199 Aug 14, 2000, 11:42 AM
Post Re: how does alternate categories works?
startpoint 2189 Aug 15, 2000, 3:29 AM