Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Re: Excluding Categories - Submission

Quote Reply
Re: Excluding Categories - Submission In reply to
I dont know if you mean with "submissions" a normal adding or a submission from elsewhere;
i first case, its very easy to do the mod:
Add a new field to your cat-table, named Add then add the passing of this field inside your build.cgi (in build_cat)
then ask in your header.txt for this field if add ='Yes' print out the link to add/mod.

Have done this just an hour ago; it works fine.

Cause i dont have thought about autosubmissions; i dont know how they work.
But i think they would work like the filling out and sending an add_form. So you should go the same way;
give all the cats an extra-field and ask in add.cgi; if the field is set to yes or no.

This is not so elegant like asking for toplevel or not, but it should do it, too.
By the way; i remember somewhere in code is an if then with asking for the cat-level by prooving the / as sign if top or not.
But dont ask me where.

Robert

Subject Author Views Date
Thread Excluding Categories - Submission qango 3822 Jun 9, 2000, 3:52 AM
Thread Re: Excluding Categories - Submission
pugdog 3737 Jun 9, 2000, 8:16 AM
Thread Re: Excluding Categories - Submission
Robert 3705 Jun 9, 2000, 5:27 PM
Thread Re: Excluding Categories - Submission
Robert 3706 Jun 9, 2000, 5:31 PM
Thread Re: Excluding Categories - Submission
qango 3684 Jun 18, 2000, 6:18 AM
Post Re: [qango] Excluding Categories - Submission
megri 3446 Mar 20, 2004, 11:15 PM