coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: ff on December 17, 2008, 07:37:02 PM

Title: Theme by category
Post by: ff on December 17, 2008, 07:37:02 PM
Hi,

After merging three galleries into one, I want the old galleries to be available as categories -> Done :D
I want to link to each category from the originating site as if this is the gallery of that site -> Linking to the specific category URL and now hoping the categorynr. won't change
I want to have the linked category it's own theme which is the same as the theme of the originating site -> add &theme=foo to URL

But...
What I'd really want to have is that some categories have theme A, some theme B, and some theme C.
Is it somehow possible to have a theme be chosen bij the current category.
If you click on a category in CPG, the theme will automagically ;) change.


http://www.ff.fm/hummeltje/ (http://www.ff.fm/hummeltje/) must end at http://www.ff.fm/fffotoalbum.bak/index.php?cat=25&theme=hummeltje (http://www.ff.fm/fffotoalbum.bak/index.php?cat=25&theme=hummeltje) (compare with http://www.ff.fm/hummeltje/fotoalbum/index.php (http://www.ff.fm/hummeltje/fotoalbum/index.php))

http://www.xarno.nl/ (http://www.xarno.nl/) must end at http://www.ff.fm/fffotoalbum.bak/index.php?cat=26&theme=xarno (http://www.ff.fm/fffotoalbum.bak/index.php?cat=26&theme=xarno) (compare with http://www.xarno.nl/fotoalbum/ (http://www.xarno.nl/fotoalbum/))
Title: Re: Theme by category
Post by: Nibbler on December 17, 2008, 08:49:10 PM
There's a mod available for this (more than one I think), so search the forum.
Title: Re: Theme by category
Post by: ff on December 17, 2008, 10:28:16 PM
Quote from: Nibbler on December 17, 2008, 08:49:10 PM
There's a mod available for this (more than one I think), so search the forum.

I'll try again. Guess I searched with the wrong keywords.

Thans Nibbler
Title: Re: Theme by category
Post by: ff on December 18, 2008, 12:19:01 PM
Uhm... I'm sorry, but still can't locate any post about this subject.  ???

Could / Would you be so kind to give any pointers to search on   ::)

I tried searching with:
theme
category
album
change
random

What keyword am I missing ;)
Title: Re: Theme by category
Post by: Nibbler on December 18, 2008, 01:29:25 PM
http://forum.coppermine-gallery.net/index.php/topic,25471.0.html
http://forum.coppermine-gallery.net/index.php/topic,22781.0.html
Title: Re: Theme by category
Post by: ff on December 18, 2008, 03:34:59 PM
Thank you.

I think they are to old to be found?
Title: Re: Theme by category
Post by: Hein Traag on December 18, 2008, 04:12:38 PM
Searching for "category themes" gives you Nibblers mod on the second result page, the fifth from above iirc.
Title: Re: Theme by category
Post by: ff on December 18, 2008, 04:56:43 PM
Quote from: Hein Traag on December 18, 2008, 04:12:38 PM
Searching for "category themes" gives you Nibblers mod on the second result page, the fifth from above iirc.

Found the 'problem' :)

"category theme" was my phrase.

Other hits with other sorting.