printAlbumMenu - Problem with css_class_topactive

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

The code looks like this

<? printAlbumMenu ("list",false,null,"current","hidden","current",null,null,false,true); ?>

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

Comments

  • acrylian Administrator, Developer
    The album menu is supposed to work like that. What you wish to do can be achieved by using the menu manager plugin.
  • Ok, thanks for the fast reply. Gonna use the menu manager plugin then.
Sign In or Register to comment.