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

Re: [rascal] Multiple Categories(How?)

Quote Reply
Re: [rascal] Multiple Categories(How?) In reply to
Sorry about the late reply, but I don't monitor this forum as closely as the Gossamer Links Discussion forum. We try spending as much time as we can answering posts on the forum, but we sometimes get bogged down with other projects and product development. If you don't get a response, bump your thread up, or try e-mailing support.

To answer your question, it's easy to let users add links to multiple categories with Gossamer Links 3.x (a little more work in 2.x). All you need to do, is edit your include_form.html and change:
Code:
<select id="CatLinks.CategoryID" name="CatLinks.CategoryID">
to
Code:
<select id="CatLinks.CategoryID" name="CatLinks.CategoryID" multiple="multiple" size="5">
And also make sure you have the db_gen_category_list turned on. Note that it won't work too well if you have a lot of categories since the generated html will be very large. Also not that payments are not supported when allowing your users to insert links into multiple categories.

As to limiting the number of categories - that is not possible to do with the default program, but you can write a plugin to hook into user_add_link to perform a check before the link is added.

Adrian
Subject Author Views Date
Thread Multiple Categories(How?) rascal 12790 May 2, 2005, 1:00 AM
Post Re: [rascal] Multiple Categories(How?)
rascal 12476 May 5, 2005, 9:48 PM
Thread Re: [rascal] Multiple Categories(How?)
brewt 12425 May 6, 2005, 12:59 PM
Thread Re: [brewt] Multiple Categories(How?)
Alba 12316 Jan 14, 2006, 8:44 AM
Thread Re: [Alba] Multiple Categories(How?)
Andy 12263 Jan 17, 2006, 3:53 AM
Thread Re: [Andy] Multiple Categories(How?)
webmaster33 12325 Jan 17, 2006, 3:57 AM
Post Re: [webmaster33] Multiple Categories(How?)
Alba 12207 Jan 17, 2006, 4:01 AM
Post Re: [webmaster33] Multiple Categories(How?)
brewt 12185 Jan 17, 2006, 1:21 PM
Post Re: [brewt] Multiple Categories(How?)
webmaster33 12259 Jan 17, 2006, 3:45 AM
Post Re: [brewt] Multiple Categories(How?)
yobo 11983 Mar 16, 2007, 9:40 AM
Thread Re: [brewt] Multiple Categories(How?)
terriz 11768 Mar 11, 2008, 2:45 PM
Thread Re: [terriz] Multiple Categories(How?)
Andy 11816 Mar 11, 2008, 2:50 PM
Thread Re: [Andy] Multiple Categories(How?)
terriz 11765 Mar 11, 2008, 2:58 PM
Post Re: [terriz] Multiple Categories(How?)
Andy 11778 Mar 11, 2008, 3:00 PM
Thread Re: [terriz] Multiple Categories(How?)
brewt 11794 Mar 11, 2008, 3:20 PM
Thread Re: [brewt] Multiple Categories(How?)
terriz 11752 Mar 11, 2008, 11:33 PM
Thread Re: [terriz] Multiple Categories(How?)
Gorospe 11746 Sep 22, 2008, 12:54 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 11756 Sep 22, 2008, 1:01 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 11805 Sep 22, 2008, 1:10 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 11698 Sep 22, 2008, 1:13 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 11677 Sep 22, 2008, 1:14 PM
Thread Re: [Gorospe] Multiple Categories(How?)
brewt 11681 Sep 22, 2008, 1:48 PM
Thread Re: [brewt] Multiple Categories(How?)
Gorospe 11698 Sep 22, 2008, 8:38 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 11683 Sep 23, 2008, 12:17 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 11443 May 20, 2009, 5:59 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4135 May 20, 2009, 6:17 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4045 May 20, 2009, 6:22 AM
Thread Re: [rascal] Multiple Categories(How?)
Westin 4116 May 20, 2009, 6:27 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4104 May 20, 2009, 6:36 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 4205 May 20, 2009, 6:39 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4073 May 20, 2009, 6:44 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4033 May 20, 2009, 6:47 AM