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 13700 May 2, 2005, 1:00 AM
Post Re: [rascal] Multiple Categories(How?)
rascal 13379 May 5, 2005, 9:48 PM
Thread Re: [rascal] Multiple Categories(How?)
brewt 13333 May 6, 2005, 12:59 PM
Thread Re: [brewt] Multiple Categories(How?)
Alba 13220 Jan 14, 2006, 8:44 AM
Thread Re: [Alba] Multiple Categories(How?)
Andy 13169 Jan 17, 2006, 3:53 AM
Thread Re: [Andy] Multiple Categories(How?)
webmaster33 13230 Jan 17, 2006, 3:57 AM
Post Re: [webmaster33] Multiple Categories(How?)
Alba 13107 Jan 17, 2006, 4:01 AM
Post Re: [webmaster33] Multiple Categories(How?)
brewt 13087 Jan 17, 2006, 1:21 PM
Post Re: [brewt] Multiple Categories(How?)
webmaster33 13165 Jan 17, 2006, 3:45 AM
Post Re: [brewt] Multiple Categories(How?)
yobo 12887 Mar 16, 2007, 9:40 AM
Thread Re: [brewt] Multiple Categories(How?)
terriz 12674 Mar 11, 2008, 2:45 PM
Thread Re: [terriz] Multiple Categories(How?)
Andy 12723 Mar 11, 2008, 2:50 PM
Thread Re: [Andy] Multiple Categories(How?)
terriz 12674 Mar 11, 2008, 2:58 PM
Post Re: [terriz] Multiple Categories(How?)
Andy 12683 Mar 11, 2008, 3:00 PM
Thread Re: [terriz] Multiple Categories(How?)
brewt 12700 Mar 11, 2008, 3:20 PM
Thread Re: [brewt] Multiple Categories(How?)
terriz 12656 Mar 11, 2008, 11:33 PM
Thread Re: [terriz] Multiple Categories(How?)
Gorospe 12653 Sep 22, 2008, 12:54 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12662 Sep 22, 2008, 1:01 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 12713 Sep 22, 2008, 1:10 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12606 Sep 22, 2008, 1:13 PM
Thread Re: [Andy] Multiple Categories(How?)
Gorospe 12583 Sep 22, 2008, 1:14 PM
Thread Re: [Gorospe] Multiple Categories(How?)
brewt 12586 Sep 22, 2008, 1:48 PM
Thread Re: [brewt] Multiple Categories(How?)
Gorospe 12602 Sep 22, 2008, 8:38 PM
Thread Re: [Gorospe] Multiple Categories(How?)
Andy 12589 Sep 23, 2008, 12:17 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 12349 May 20, 2009, 5:59 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4447 May 20, 2009, 6:17 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4351 May 20, 2009, 6:22 AM
Thread Re: [rascal] Multiple Categories(How?)
Westin 4428 May 20, 2009, 6:27 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4416 May 20, 2009, 6:36 AM
Thread Re: [Andy] Multiple Categories(How?)
Westin 4515 May 20, 2009, 6:39 AM
Thread Re: [Westin] Multiple Categories(How?)
Andy 4387 May 20, 2009, 6:44 AM
Post Re: [Andy] Multiple Categories(How?)
Westin 4337 May 20, 2009, 6:47 AM