Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Category Drop-down

Quote Reply
Category Drop-down
Not sure if it's the script or something I may have inadvertantly deleted, but when I go to modify a listing, the category isn't pre-selected to whatever it should be in the DB. I have to re-select it. Is this just my script or Links itself? If it's me, what can I do to fix it?
Quote Reply
Re: Category Drop-down In reply to
Listen I dont know how you could have changed this 'cause the default is set to 1

But look for =>

# Should your add.cgi automatically select what category the user
# is adding his link into?
$db_single_category = 1;


If it is not set to 1 and is set to 0 that means that it will not come up and it will choose it manually.

Hope this helps.

Regards

Gian
Quote Reply
Re: Category Drop-down In reply to
Gian, he stated when modifying a listing, not adding a new resource. Well Lond, when someone modifies a resource, he or she might want to change the category as well; that is why that the category is not hard-coded when you click the modify.cgi link from a particular category.