Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Category menu display 'Submit = Y' only?

Quote Reply
Category menu display 'Submit = Y' only?
Can anyone tell me how to make the category menu in the add and modify pages display only those categories who's 'Submit' field = Y? (after I've added the field to the cat table and set the fields obviously). At the moment it builds a complete list of all categories. I'm guessing adding global sub-routine of some sort, but exactly what I've got NO idea.

Cheers,

R.

Quote Reply
Re: Category menu display 'Submit = Y' only? In reply to
Hi,

You will probably need to modify the _category_list() function in add.cgi or modify.cgi. I don't think this can be accomplished from a global.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Category menu display 'Submit = Y' only? In reply to
Alex,

if i'm not using the category-pulldown - any idea how i could disable several cats for adding links by visitors?