Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Default Ajax category selection

Quote Reply
Default Ajax category selection
I'd like to use the Ajax category selection method but I have one problem with it. The default seems to be no category selected and I'd like to change that to have a default category already selected when somebody arrives at add.cgi

Is this possible to hardcode in a category?

The reason I want this is because a lot of my users just plain don't select a category and then fail in adding their link. I ask for a huge amount of information along with photo uploads and people give up easily if anything stops them submitting.
Quote Reply
Re: [chapelier] Default Ajax category selection In reply to
Hi,

Not tested, but you could just do:

add.cgi?ID=12345

(where 12345 is the category you want it to auto-select)

Hope that helps.

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!
Quote Reply
Re: [Andy] Default Ajax category selection In reply to
Spot on Andy. thanks a lot.

I'll go a step further with add.cgi?ID=<%ID%> and just hardcode the link on pages that have an add.cgi link but don't have a category.


Cheers

Andy
Quote Reply
Re: [chapelier] Default Ajax category selection In reply to
No problem :)

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!