Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Adding Links

Quote Reply
Adding Links
Hi,

I am trying to figure out where to set the "add a link" to display the add form when a user is inside a category. I am building a directory that has over 100K category and now every time I click on Add link it tries to populate all the categories.

Also, where do I lock a category to prevent submission to certain categories?

Thanks.
Quote Reply
Re: [tariqali] Adding Links In reply to
Hi,

In admin panel, Setup->Build options, chose db_gen_category_list = No

Hope that helps

Cheers,



Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Adding Links In reply to
Thanks, that's what I was looking for.

Also, how do I lock a category to now allow submissions?
Quote Reply
Re: [tariqali] Adding Links In reply to
Hi,

I am not sure if I understand correctly. You can edit the include_form.html template. Just replace the default codes for Cateogry where there are some code 'CatLinks.CategoryID' with something like below

Category:
<ul><li>Cateogry Name<input type="hidden" name="CatLinks.CategoryID" value="1" /></li></ul>

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Adding Links In reply to
I think that's what it is. I didn't know I had to do this inside the template.

thanks for the help!