forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: traumlos on November 30, 2004, 06:51:04 pm

Title: two themes at the same time?
Post by: traumlos 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!?)
Title: Re: two themes at the same time?
Post by: Tranz 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
Title: Re: two themes at the same time?
Post by: traumlos 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.
Title: Re: two themes at the same time?
Post by: chtito 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.
Title: Re: two themes at the same time?
Post by: traumlos 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!
Title: Re: two themes at the same time?
Post by: michael singer on December 02, 2004, 02:00:19 pm
great!
links to change the theme - this is what i was searching for too!
thanks