Hi
I do not want the category list built if people try to add Site from the home page...the category list is too long.
So I want it to give a message saying please goto the relevant category first and then Add Site.
I have had a look in the add.cgi and there is this section:
# If we don't have an id, and can't generate a list, let's send the user a message.
if (! $id and ! $LINKS{db_gen_category_list}) {
&site_html_error ( { error => "Please go to the category you want to add to, and click add from there." }, $dynamic);
How can I make sure there is not an ID here so it always sends this message to the user?
Or is there another way?
Many Thanks
Tony
I do not want the category list built if people try to add Site from the home page...the category list is too long.
So I want it to give a message saying please goto the relevant category first and then Add Site.
I have had a look in the add.cgi and there is this section:
# If we don't have an id, and can't generate a list, let's send the user a message.
if (! $id and ! $LINKS{db_gen_category_list}) {
&site_html_error ( { error => "Please go to the category you want to add to, and click add from there." }, $dynamic);
How can I make sure there is not an ID here so it always sends this message to the user?
Or is there another way?
Many Thanks
Tony