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]   Go Down

Author Topic: two themes at the same time?  (Read 4459 times)

0 Members and 1 Guest are viewing this topic.

traumlos

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
two themes at the same time?
« on: November 30, 2004, 06:51:04 pm »

I'm going to create 2 themes with different versions of "template.html". In one version the whole gallery is in a DIV-tag, in the other version it's presented without DIV-tags. The site visitor should be able to chose between these two layouts (on a site not included in the gallery). At the moment, the whole theme is in the folder "themes/classic".

So, is it possible to do that?

(example:

http://www.url.com/gallery/index.php -> Version a
http://www.url.com/gallery/index2.php -> Version b

something like this!?)
« Last Edit: November 30, 2004, 09:34:21 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: two themes at the same time?
« Reply #1 on: November 30, 2004, 07:24:49 pm »

You can set the Config to display the theme list
http://coppermine.sourceforge.net/manual.php#config_language
Logged

traumlos

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: two themes at the same time?
« Reply #2 on: November 30, 2004, 08:01:56 pm »

yes but then I can only set ONE theme and not 2 at the same time, right?
the option to chose between version a and version b is on a complete different site - as I said - not included in the gallery. just as if I would give you 2 different links in this thread and one of them is version a, the other one is version b.
Logged

chtito

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 186
  • I run Mac OS X, despite the penguin ;)
Re: two themes at the same time?
« Reply #3 on: November 30, 2004, 08:07:27 pm »

The following would work:

http://www.url.com/gallery/index.php?theme=theme1
http://www.url.com/gallery/index.php?theme=theme2

That's two different urls, and each will give you a different theme.
Logged
Vous pouvez poser vos questions en français sur le forum francophone !

traumlos

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: two themes at the same time?
« Reply #4 on: November 30, 2004, 08:34:29 pm »

THANKS!!

I simply created a new folder (theme) and followed your instructions... et voilà...it works. :) SOLVED!
« Last Edit: November 30, 2004, 09:27:57 pm by chtito »
Logged

michael singer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • random image from: www.a-visual-notebook.at
    • a visual notebook
Re: two themes at the same time?
« Reply #5 on: December 02, 2004, 02:00:19 pm »

great!
links to change the theme - this is what i was searching for too!
thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.