Member
Member
edasque   2009-03-18, 13:14
#1
Hi,

can I change the theme option (Theme Colors) with a URL parameter, so I can develop a new one while displaying the current one to all ?

Erik
Member
Member
sbillard   2009-03-18, 23:15
#2
Not without modifying the zenphoto code. But what you can do is setup an unpublished album with its own theme. For that album/theme you can select a different Theme Colors.
Member
Member
edasque   2009-03-19, 17:38
#3
Hmmm, is there a way to overload the CSS choice in the theme php if I am an admin then ?
Member
Member
sbillard   2009-03-19, 21:02
#4
Do you mean permanantly? If the theme supports it, yes. Do you mean while you are viewing the site? Then please re-read my previous post.
Member
Member
edasque   2009-03-20, 17:17
#5
no, something more like a piece of code I could put on my theme to say:

if admin, they use this css instead of the basic one.
Member
Member
sbillard   2009-03-21, 17:00
#6
You can do this. The test you want is `if(zp_loggedin()) {your css code} else {normal css code}`
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.