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

Re: [ajiimd] exclude category in dropdown mene

Quote Reply
Re: [ajiimd] exclude category in dropdown mene In reply to
Try adding;

Code:
my $in_id = $IN->param('CatLinks.CategoryID') || $IN->param('ID');

...and then change;

Code:
if ($catid == $hit->{ID}) {

...to

Code:
if ($in_id == $hit->{ID}) {

<%global_name%>

...and you can pass in ?ID=1234 or CatLinks.CategoryID=1234 (the tag that is used after submitting the add form).

That should be about it.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread exclude category in dropdown mene ajiimd 3367 Aug 28, 2004, 11:19 PM
Thread Re: [ajiimd] exclude category in dropdown mene
ajiimd 3254 Aug 29, 2004, 1:43 PM
Thread Re: [ajiimd] exclude category in dropdown mene
ajiimd 3302 Aug 29, 2004, 6:44 PM
Post Re: [ajiimd] exclude category in dropdown mene
ajiimd 3251 Aug 31, 2004, 3:59 AM
Thread Re: [ajiimd] exclude category in dropdown mene
Andy 3236 Sep 4, 2004, 12:31 AM
Thread Re: [Andy] exclude category in dropdown mene
ajiimd 3231 Sep 4, 2004, 6:04 AM
Post Re: [ajiimd] exclude category in dropdown mene
Andy 3223 Sep 4, 2004, 7:51 AM