ZenphotoCMS Forum
class missing in print album menu - 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: class missing in print album menu (/thread-3660.html)



class missing in print album menu - Miem - 2008-09-01

There is not a class assigned to a li in the print album menu.
I think I found a fault in the print_album_menu.php in line 384
$link = "
Should be:
$link = "

I am using the nightly build from 31-08-2008




class missing in print album menu - acrylian - 2008-09-01

Hm, I don't think:
if(getAlbumID() === $album->getAlbumID()) { $link = "".$album->getTitle().$count; } else { $link = "getTitle())."'>".htmlspecialchars($album->getTitle())."".$count; }
The class that is assigned to the first is only meant to style the active menu entry if you are in that album. It is passed from within the main functions as "class='class'" if set (around line 159). I think that is correct that way, the other `you could style vai via the main ul class like.class ul li`.




class missing in print album menu - Miem - 2008-09-01

Ah, I read it diferently. You are totally right. I have to work my css an other way. Sorry to have bothered you again.