force to change themes force to change themes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

force to change themes

Started by internetking, November 07, 2010, 01:18:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

internetking

on  a theme there is no  theme selector, how can i force it to change a theme?

as you see there is no selector for that...


thanks...

internetking

oh  my  site for coppermine is at photos.hulds.com

when i was playing with demo of cpg  and i found it use... ?theme=eyeball after website  name for example ... http://photos.hulds.com/?theme=eyeball 

but however.... where can i turn on so people can select the theme???

like it was in the demo....


thanks..

internetking

Quote from: internetking on November 07, 2010, 02:41:46 AM


when i was playing with demo of cpg  and i found it use... ?theme=eyeball after website  name for example ... http://photos.hulds.com/?theme=eyeball 



opps i mean... 

http://photos.hulds.com/index.php?theme=eyeball 

lurkalot

The theme selector token needs to be added to each theme in 1.5.8 they are not there by default.

You can do this by adding this code to the "template.html" file found in each theme folder{THEME_SELECT_LIST}  This has to be repeated for each theme.

The info is here.  ;)  http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.5.x/docs/en/theme_template.htm#theme_template_theme_select_list
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

internetking

on some themes  {LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST} are kind of unreadable drop down menus... let me give you example as a img attachment... 

cpg is at http://photos.hulds.com

same for themes not just language...

Αndré

Quote from: internetking on November 08, 2010, 05:08:17 AM
on some themes  {LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST} are kind of unreadable drop down menus
Then you'll have to modify the theme's css files accordingly.

internetking

what section of css i can find that? for the drop down for language and theme....

Αndré