Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

How to have links in Multiple Categories?

Quote Reply
How to have links in Multiple Categories?
Hi, I saw some old threads here about editing the include forms to allow users to add links to multiple categories, but I couldn't find the code referenced in my copy of the include_form ...

Here is the excerpt from Adrian

"If you open up the include_form.html template and search for "selectionMode", uncomment that bit of javascript (ie. remove the <%-- and --%>). That will allow you select more than one category. "

I've opened up my include_form (using Luna templates, GLinks 3.2 and there is no "selectionMode"

Even more important to me at this stage however, I'd like to the admin user (myself) to be able to add links using the administration screen to multiple categories. Could someone share how this is done?
Also, in terms of importing data into the system, if one has links in multiple categories, how is the table that handles the category links structured. IE: in the table, does one separate multiple categories by a , "comma" between the values? So for example, would it be the CatLinks table that stores the relationship between the Links and the category data have something like this as an entry for multiple categories:

3,5,7,9 (with 3, 5, 7, and 9) being the id's of the specific separate categories that the link belongs to?




If I'm using Andy's plugins to import the data, does anyone know if one can import items into multiple categories using the plugins, or is there another plugin that does this? Thank you!

Last edited by:

webones: Apr 19, 2008, 7:18 AM
Subject Author Views Date
Thread How to have links in Multiple Categories? webones 2621 Apr 19, 2008, 6:27 AM
Post Re: [webones] How to have links in Multiple Categories?
Andy 2507 Apr 19, 2008, 8:47 AM