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 13528 May 2, 2005, 1:00 AM
Post Re: [rascal] Multiple Categories(How?)
rascal 13208 May 5, 2005, 9:48 PM
Thread Re: [rascal] Multiple Categories(How?)
brewt 13159 May 6, 2005, 12:59 PM
Thread Re: [brewt] Multiple Categories(How?)
Alba 13049 Jan 14, 2006, 8:44 AM
Thread Re: [Alba] Multiple Categories(How?)
Andy 12998 Jan 17, 2006, 3:53 AM
Thread Re: [Andy] Multiple Categories(How?)
webmaster33 13059 Jan 17, 2006, 3:57 AM
Post Re: [webmaster33] Multiple Categories(How?)
Alba 12936 Jan 17, 2006, 4:01 AM
Post Re: [webmaster33] Multiple Categories(How?)
brewt 12915 Jan 17, 2006, 1:21 PM
Post Re: [brewt] Multiple Categories(How?)
webmaster33 12992 Jan 17, 2006, 3:45 AM
Post Re: [brewt] Multiple Categories(How?)
yobo 12714 Mar 16, 2007, 9:40 AM
Thread Re: [brewt] Multiple Categories(How?)
terriz 12503 Mar 11, 2008, 2:45 PM
Thread Re: [terriz] Multiple Categories(How?)
Andy 12550 Mar 11, 2008, 2:50 PM
Thread Re: [Andy] Multiple Categories(How?)
terriz 12503 Mar 11, 2008, 2:58 PM
Post Re: [terriz] Multiple Categories(How?)
Andy 12510 Mar 11, 2008, 3:00 PM
Thread Re: [terriz] Multiple Categories(How?)
brewt 12529 Mar 11, 2008, 3:20 PM
Thread Re: [brewt] Multiple Categories(How?)
terriz 12485 Mar 11, 2008, 11:33 PM
Thread Re: [terriz] Multiple Categories(How?)
Gorospe 12481 Sep 22, 2008, 12:54 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12490 Sep 22, 2008, 1:01 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 12541 Sep 22, 2008, 1:10 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12433 Sep 22, 2008, 1:13 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 12412 Sep 22, 2008, 1:14 PM
Thread Re: [Gorospe] Multiple Categories(How?)
brewt 12414 Sep 22, 2008, 1:48 PM
Thread Re: [brewt] Multiple Categories(How?)
Gorospe 12431 Sep 22, 2008, 8:38 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12418 Sep 23, 2008, 12:17 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 12176 May 20, 2009, 5:59 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4393 May 20, 2009, 6:17 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4297 May 20, 2009, 6:22 AM
Thread Re: [rascal] Multiple Categories(How?)
Westin 4375 May 20, 2009, 6:27 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4362 May 20, 2009, 6:36 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 4461 May 20, 2009, 6:39 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4334 May 20, 2009, 6:44 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4284 May 20, 2009, 6:47 AM