ZenphotoCMS Forum
printAlbumMenu - Problem with css_class_topactive - 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: printAlbumMenu - Problem with css_class_topactive (/thread-7342.html)



printAlbumMenu - Problem with css_class_topactive - deepfield - 2010-07-15

Hi everybody
I am trying to embed an album navigation with the printAlbumMenu function (Zenphoto version 1.3 [5644])

The code looks like this

Now my problem is that the css_class_topactive attribute is only applied to my top-level album if I am navigating into a subalbum (since the last parameter is set to true) but does NOT if I am currently in the top-level album. So the top-level album link only highlights if I am in one of its subalbums but not if I am directly in that album. Is the printAlbumMenu function supposed to work like that or am I doing something wrong? And if I've done it correctly, how would I highlight a current top-level album link?

Hope I could make myself clear and thanks in advance for any help,
deepfield




printAlbumMenu - Problem with css_class_topactive - acrylian - 2010-07-15

The album menu is supposed to work like that. What you wish to do can be achieved by using the menu manager plugin.




printAlbumMenu - Problem with css_class_topactive - deepfield - 2010-07-15

Ok, thanks for the fast reply. Gonna use the menu manager plugin then.