![]() |
|
Themes and PHP5 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Themes and PHP5 (/thread-1486.html) |
Themes and PHP5 - naib - 2007-06-15 Hi, I have zenphoto setup on my server and just trying to design the main page (to then mod a theme to use the menu). However.. I have noticed that only the default theme works, all the others do not have the CSS applied to them. In fact looking at the generated html the default theme produces <link rel="stylesheet" href="/MyPhoto/themes/default/zen.css" type="text/css" /> while the others produce <link rel="stylesheet" href="<?= $_zp_themeroot ?>/zen.css" type="text/css" /> Looking at the PHP code that generates it I changed the href="<?= to href="<?php echo Also a few other <?= to <?php that had to be changed Just pointing out if it is unknown Themes and PHP5 - DarrellD - 2007-06-16 Are you sure you're using the newest version of ZenPhoto? I believe that Tristan got rid of most of those shortcut tags. Themes and PHP5 - naib - 2007-06-16 using whatever is on the download link like 3 days ago (had to re-unzip mess it up) zenphoto-1.0.8.2.tar.gz and yup all the themes (bar the default) have it. Not too much of a concern the default (well maybe teh sterile) is all I need, need to mod it to merge in with my site (when site really exists) Themes and PHP5 - DarrellD - 2007-06-16 Sorry, I was wrong. He got rid of all those tags in the core code, but not in the default themes. |