Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: Show only some Categories

Quote Reply
Re: Show only some Categories In reply to
The way I did it, was add a column in the Category table called 'Visible' as an ENUM('Yes','No') type, defaulting to Yes then added the following at the top of the subcategory.html template:

Code:
<%if Visible eq 'Yes'%>
Then at the bottom put:

Code:
<%endif%>
Then you just put No in the categories you don't want displayed.

It simply doesn't add a link to the category on any page that uses subcategory.html to generate a list of them. This modification still allows you to see the category once the site is built, if you know it's name, so it is not for everybody, but it works for our purposes.

Hope that helps,
-Steven


Subject Author Views Date
Thread Show only some Categories fabio 4190 May 28, 2001, 3:57 PM
Thread Re: Show only some Categories
Stealth 4053 May 28, 2001, 5:24 PM
Thread Re: Show only some Categories
fabio 4073 May 28, 2001, 6:46 PM
Thread Re: Show only some Categories
fabio 4042 May 29, 2001, 3:12 PM
Post Re: Show only some Categories
Paul 4056 May 29, 2001, 3:43 PM
Thread Re: Show only some Categories
shetland 4000 May 30, 2001, 4:15 PM
Thread Re: Show only some Categories
fabio 3989 May 31, 2001, 9:48 AM
Thread Re: Show only some Categories
shetland 3965 May 31, 2001, 6:07 PM
Post Re: Show only some Categories
fabio 4000 Jun 1, 2001, 3:12 AM
Thread Re: Show only some Categories
surfsafely 3931 Jun 19, 2001, 6:29 PM
Thread Re: Show only some Categories
Stealth 3933 Jun 19, 2001, 6:41 PM
Post Re: Show only some Categories
surfsafely 3910 Jun 19, 2001, 8:27 PM