coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: gjhvs on April 20, 2006, 08:26:25 PM

Title: Sub categories
Post by: gjhvs on April 20, 2006, 08:26:25 PM
I have a question about the categories.

I now have coopermine as follows:

- Category 1
     -Album1
     -Album2
-Category 2
     -Album1
     -Album1


But I want in eacht category sub-categories, like this:

- Category 1
     -Sub Cat 1a
          -Album2
          -Album2
     -Sub Cat 1b
          -Album1
          -Album2
- Category 2
     -Sub Cat 2a
          -Album1
          -Album2
     -Sub Cat 2b
          -Album1
          -Album2


How do I create this??
Title: Re: Sub categories
Post by: Nibbler on April 20, 2006, 08:31:28 PM
When you create the category, set the parent category.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cat_cp
Title: Re: Sub categories
Post by: gjhvs on April 20, 2006, 09:27:21 PM
Thanks! I got it working!
Title: Re: Sub categories
Post by: gjhvs on April 20, 2006, 10:21:54 PM
Another question about de indexpage:
look here: http://www.madonna.nl/fotoalbum/index.php

Look by the word 'Podium'. This is the heat-category and 'Re-Invention Tour 2004' is a subcategory.
Is it possible to only show head-categories on the homepage and NOT the subcatergories. So that you only get to see them if you clivk the head-category.
Title: Re: Sub categories
Post by: Nibbler on April 20, 2006, 10:45:15 PM
Yes, please read the manual (config -> Number of levels of categories to display).

One question per thread.