coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dills84 on February 19, 2008, 04:38:14 PM

Title: Hiding sub categories?
Post by: dills84 on February 19, 2008, 04:38:14 PM
i searched to see if this was possible, but i didnt come up with anything.

my site layout is Parent Category> Sub category> album> picture

i'd like to remove the Sub-categories from showing on the main gallery page.

example: you come to the gallery and see 2 categories "people" and "bands" Nothing else is on this main page. after you click on a category you get a list of SUB categories having the Band or People names. After clicking the SUB category, you get your album list.

is this possible? or do i have to change my code?
Title: Re: Hiding sub categories?
Post by: Nibbler on February 19, 2008, 05:45:03 PM
There's a config option for number of levels of categories to display.
Title: Re: Hiding sub categories?
Post by: dills84 on February 19, 2008, 05:55:16 PM
i have it set to "" in my theme.php file. but the sub categories still dont dissapear, only the albums. Are the subs supposed to dissapear too?
Title: Re: Hiding sub categories?
Post by: dills84 on February 19, 2008, 06:08:09 PM
OK... I'm a dope. i realized what my problem was. Thanks.

problem solved.
Title: Re: Hiding sub categories?
Post by: Joachim Müller on February 19, 2008, 07:49:58 PM
You might want to post what you actually did to solve your issue for the benefit of others with similar issues... That's the point of a support board.