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

Multiple Category

Quote Reply
Multiple Category
hi,
some of the links people add to my site need it to add it again in different category! so i do add it again!

is there a way i can let people choose a multiple category for their links?

can I add new fields to Links table for second choose for category?

any suggestions?

Quote Reply
Re: Multiple Category In reply to
In the 1.11 version this isn't easy, because the link needs a linkID before you can add multiple categories. That means the link has to be added already.

Any other changes would require code changes in several areas.

The next version of Links SQL will have a different category layout, so this may change. Alex said he reworked the alt-links system and category hierarchy.

You could code into the "add" template 5 fields (lets say) to pass in alternate categories to the Validate table. But you'd hvae to add 5 fields to the validate table. Then, when you validate, you'd have to add code to the "add link" routines, that would check those fields and add the extra category relations. There are some examples of this scattered through the code, but making this sort of change now with the new release so close would mean you'd have to do it again once the new release comes out, and it may not work the same (or it might even be built in).



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