Advanced search  

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

Pages: 1 [2]   Go Down

Author Topic: Different themes for different albums?  (Read 37191 times)

0 Members and 1 Guest are viewing this topic.

olis

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Different themes for different albums?
« Reply #20 on: April 22, 2004, 10:53:21 pm »

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 ???
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Different themes for different albums?
« Reply #21 on: April 23, 2004, 01:30:11 am »

Casper,

The primary difference between OR and || is that || ranks higher in PHP's order of operations.
Logged
"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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

olis

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Different themes for different albums?
« Reply #22 on: April 23, 2004, 07:52:50 am »

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
« Last Edit: April 23, 2004, 08:05:03 am by olis »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Different themes for different albums?
« Reply #23 on: April 23, 2004, 08:43:39 am »

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
Logged

olis

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Different themes for different albums?
« Reply #24 on: April 23, 2004, 08:57:44 am »

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 ?

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Different themes for different albums?
« Reply #25 on: April 23, 2004, 09:13:43 am »

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
Logged

olis

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Different themes for different albums?
« Reply #26 on: April 23, 2004, 09:17:16 am »

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
Logged

globo

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Different themes for different albums?
« Reply #27 on: July 16, 2004, 03:32:08 pm »

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?
Logged

AnnieB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Different themes for different albums?
« Reply #28 on: March 07, 2005, 11:47:24 pm »

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?
Logged

kkapadia

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Different themes for different albums?
« Reply #29 on: November 19, 2005, 03:28:11 am »

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.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.043 seconds with 20 queries.