Gossamer Forum
Home : Products : Gossamer Links : Discussions :

add.cgi problem

Quote Reply
add.cgi problem
When I go to add.cgi I get the message "Please first visit the category you wish to add your link to, then click on Add."

This just started happening. It use to go right to the add form no matter what page you were on when you clicked Add.cgi Even if you go to the category and click add it still gives that error.

How can this be fixed.

Thanks!

Jeff

Best of the Christian Web
http://www.botcw.com
Quote Reply
Re: add.cgi problem In reply to
Post deleted....not concerntrating (again)

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: add.cgi problem In reply to
Paul,

Are you sure we're talking about the same verion?

I'm using the new Links SQL. I don't think I have a Links.cfg and I can't find a $db_single_category definition.

Jeff

Best of the Christian Web
http://www.botcw.com
Quote Reply
Re: add.cgi problem In reply to
Oops sorry im losing my mind........

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: add.cgi problem In reply to
Hi,

If you have db_gen_category_list in Build Options set to No, then users must click on add from within a category. If you set this to Yes, then users can click on add from anywhere (as a category select list will be generated).

Make sure your category.html template passes in ID=<%category_id%> to the add and modify script. See the defaults for an example.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: add.cgi problem In reply to
Hello Alex!

Would it be possible with Build options set to NO and still to generate a Main Category list without going into the Category?

Ofcourse, one can generate a popup without SQL query, as a part of the webpage for the Main Categories. But then, how to integrate it with the sub categories?

I am looking for a possibility as posted here with the topic:

[Category:pop-up] Show Category clean in drop down

Would this be possible?

Thanks.

Quote Reply
Re: add.cgi problem In reply to
Hi,

No, db_gen_category_list affects both areas, add.cgi and in the admin.

Cheers,

Alex

--
Gossamer Threads Inc.