Gossamer Forum
Home : Products : Links 2.0 : Discussions :

add.cgi automatically selects the category

Quote Reply
add.cgi automatically selects the category
Hi... I've got a small problem. I've set $db_single_category to 0 because I like that drop down list. My only problem is that when the user clicks add.cgi... it doesn't show the correct category... it's just set to "-". If I set it $db_single_category to 1 then it sets it right but there's no drop down list. How do I get the dropdown list to automatically have the category the user was in but still retain the drop down list. Is there a tag that I need to pass to add.cgi?

Thanks.Smile

Last edited by:

cosmicinsight: Oct 23, 2004, 9:27 PM
Quote Reply
Re: [cosmicinsight] add.cgi automatically selects the category In reply to
As far as I know, it'a an either/or situation. I have never seen a dropdown list that will do what you want...


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] add.cgi automatically selects the category In reply to
Check out this site.... http://www.thebigtravelguide.com

He's got it setup the way I want it... if you go several directories down... and then click add site... you'll notice that the category drop down list is set to where you were in the site. Any idea how he did that?
Quote Reply
Re: [cosmicinsight] add.cgi automatically selects the category In reply to
Very interesting! Have you asked them how they did it?
This page might work for you, I did not study the code too closely...

http://www.4d.com/...echTip?tCaseID=16647


Leonard
aka PerlFlunkie