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 13638 May 2, 2005, 1:00 AM
Post Re: [rascal] Multiple Categories(How?)
rascal 13318 May 5, 2005, 9:48 PM
Thread Re: [rascal] Multiple Categories(How?)
brewt 13271 May 6, 2005, 12:59 PM
Thread Re: [brewt] Multiple Categories(How?)
Alba 13159 Jan 14, 2006, 8:44 AM
Thread Re: [Alba] Multiple Categories(How?)
Andy 13108 Jan 17, 2006, 3:53 AM
Thread Re: [Andy] Multiple Categories(How?)
webmaster33 13169 Jan 17, 2006, 3:57 AM
Post Re: [webmaster33] Multiple Categories(How?)
Alba 13046 Jan 17, 2006, 4:01 AM
Post Re: [webmaster33] Multiple Categories(How?)
brewt 13026 Jan 17, 2006, 1:21 PM
Post Re: [brewt] Multiple Categories(How?)
webmaster33 13103 Jan 17, 2006, 3:45 AM
Post Re: [brewt] Multiple Categories(How?)
yobo 12824 Mar 16, 2007, 9:40 AM
Thread Re: [brewt] Multiple Categories(How?)
terriz 12613 Mar 11, 2008, 2:45 PM
Thread Re: [terriz] Multiple Categories(How?)
Andy 12661 Mar 11, 2008, 2:50 PM
Thread Re: [Andy] Multiple Categories(How?)
terriz 12613 Mar 11, 2008, 2:58 PM
Post Re: [terriz] Multiple Categories(How?)
Andy 12621 Mar 11, 2008, 3:00 PM
Thread Re: [terriz] Multiple Categories(How?)
brewt 12639 Mar 11, 2008, 3:20 PM
Thread Re: [brewt] Multiple Categories(How?)
terriz 12595 Mar 11, 2008, 11:33 PM
Thread Re: [terriz] Multiple Categories(How?)
Gorospe 12592 Sep 22, 2008, 12:54 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12601 Sep 22, 2008, 1:01 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 12651 Sep 22, 2008, 1:10 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12544 Sep 22, 2008, 1:13 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 12522 Sep 22, 2008, 1:14 PM
Thread Re: [Gorospe] Multiple Categories(How?)
brewt 12524 Sep 22, 2008, 1:48 PM
Thread Re: [brewt] Multiple Categories(How?)
Gorospe 12541 Sep 22, 2008, 8:38 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12528 Sep 23, 2008, 12:17 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 12287 May 20, 2009, 5:59 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4429 May 20, 2009, 6:17 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4334 May 20, 2009, 6:22 AM
Thread Re: [rascal] Multiple Categories(How?)
Westin 4410 May 20, 2009, 6:27 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4398 May 20, 2009, 6:36 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 4498 May 20, 2009, 6:39 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4369 May 20, 2009, 6:44 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4320 May 20, 2009, 6:47 AM