Different themes for different albums? - Page 2 Different themes for different albums? - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Different themes for different albums?

Started by davetd02, January 16, 2004, 09:40:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

olis

i tried this workaround and it works well until you wvote a picture.

then it change back to the predefined theme.

can anyone help ?

cheers

oli ???

hyperion

Casper,

The primary difference between OR and || is that || ranks higher in PHP's order of operations.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

olis

#22
but how can i ensure that the theme is not switching to the standart theme when you vote a picture ?

http://www.4riders.ch/bildgallery

when you choose the last category 'best trick' then it changes to green. until you vote for the picture everything is ok. as soon as you vote it goes back to standart theme

cheers

oli

Joachim Müller

I don't have an answer to your question ready, but I wanted to give a remark on your index page: you have way too many items on it - you shouldn't display all album thumbs underneath the categories (set "Show first level album thumbnails in categories" to "no" in coppermine config) - you're using too many resources, and your index page takes ages to load.

GauGau

olis

thanks for the tip. i know that there are way too much items. is there a way to add only one picture to the categories on the indexpage ?


Joachim Müller

cpg1.3.0 will feature category thumbnails - if you feel comfortable with beta software you're encouraged to upgrade, but remember that there's no support yet for cpg1.3.0, as it's still in "beta" state.

GauGau

olis

yeah i tested it allready but i could not get the videopart workign which is essentiel for us.

is there a way to embedd html code in the describtion, so i could take the pictures in like this.

but the other problem with the theme changeing is more important to me.

it's wired , isn't it ?

cheers

oli

globo

Hi I was wonering if it is possible to use a slightly different approach.

I want to use a different them for all "childs" or "sub-categories" of category X.

How would the if statement have to be?

if (requested category or album) is child of X then use theme Z instead of standard (Y)

Anyone got an idea?

AnnieB

I'm trying to set this, and it works, but I was wondering if there were a way of making the whole category be set with the same theme, instead of having to change init.inc.php everytime I create a new album

Any ideas?

kkapadia

I was successful in being able to achieve a different theme for one particular catergory using the _GET["cat"], but as an earlier post suggested this works for only the category and not the albums below that category.

Is there a simple way to have use a different theme for the category and everything below without explicitly having to specify each album one by one?

Thanks for any help.