Themes and PHP5

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

Comments

  • Are you sure you're using the newest version of ZenPhoto? I believe that Tristan got rid of most of those shortcut tags.
  • naib Member
    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)
  • Sorry, I was wrong. He got rid of all those tags in the core code, but not in the default themes.
Sign In or Register to comment.