Hello... I've tried to go everywhere in setting, to see if there was any field for this...
but nothing.
My question is... I have six templates in the themes folder...
I want to see a toggle menu where USERS can select the template they want,
I remember there was something like that in the old cpg, but in this 1.5.x i cannot find it...
Can you help me? Thanks and sorry for the silly question!
The dropdown theme selector was dropped from 1.5.12 but you can add it back by editing the template.html and adding the theme list token {THEME_SELECT_LIST}
You have to edit the template.html file for each theme you want the selector to appear.
hope this helps.
Quote from: lurkalot on July 10, 2011, 10:59:17 AM
The dropdown theme selector was dropped from 1.5.12 but you can add it back by editing the template.php and adding the theme list token {THEME_SELECT_LIST}
You have to edit the template.php file for each theme you want the selector to appear.
hope this helps.
Thanks for your info.... but maybe you meant to add it by editing each template file --->
template.html ? not php...
I added it there, and it shows up!
I have noticed a little problem.....
I am using a phpbb2 bridge, but I don't know if this behaviour happens also in a stand-alone cpg environment.
When any user change the template from that dropdown menu, added by the code above,
then the template chosen becomes the active template for everyone.
It doesn't memorize the choice for different users? One change the template, and it changes also the default? Very strange...
Quote from: cavallino on July 10, 2011, 11:42:09 AM
but maybe you meant to add it by editing each template file ---> template.html ? not php...
Correct, sorry for the mistake. I have corrected my post. ;)
We'll need a link to your gallery, so we can see what's happening.
Problem solved,
it was more likely a cookies/cache problem :)
lurkalot,
I disturb you again for another thing...
do you know where can I find the CSS part relative to the function {THEME_SELECT_LIST} ?
there's a bad gray background in the toggle cell menu I would like to change, cause it doesn't fit well my theme...
where should I find the css to modify it? :( I tried but I have no clue...
Hope you or someone else can help!
Quote from: cavallino on July 12, 2011, 05:19:18 PM
lurkalot,
I disturb you again for another thing...
do you know where can I find the CSS part relative to the function {THEME_SELECT_LIST} ?
there's a bad gray background in the toggle cell menu I would like to change, cause it doesn't fit well my theme...
where should I find the css to modify it? :( I tried but I have no clue...
Hope you or someone else can help!
I would recommend you use the Firebug addon in Firefox. This should tell you what part of the code to change. ;)