Goodmorning everyone..and plz somebody help me.
I am trying make zenphoto to open in different Temblate..
I have two pages,one in English and one in Greek..I have changed the default theme to be like my page(in Greek)..Now i have to open from the english version a different template which it would be tranclated..How can I do this?
Tnx.
Comments
http://beta.chilifrei.net/zpthemeswitcher/index.php
I am setting the cookie like this in the main index.php
$themepath = 'themes';
if (isset($_COOKIE['theme']))
{
$theme = $_COOKIE['theme'];
} else if (isset($_POST['theme']))
{ $theme = $_POST['theme'];
} else
{ $theme = 'Default'; }
$_zp_themeroot = WEBPATH . "/$themepath/$theme";
echo ("$theme\n");
echo $_COOKIE['theme'];
as you can see.. 1) I did this like 8 months ago and know it is wrong.
and 2) as you can see it doesnt keep the theme setting from page to page. and 3) not all themes seem to work using this method.
I have been on these boards for just about a year now, this is the closest I have seen to multiple themes for 1 gallery... hope it is some sort of a head start