PrintAlbumMenu doesn't show subalbums

I have the nighly build zenphoto-2008-06-02-trunk and I try to show the album list. I use this to print the list:
<?php printAlbumMenu("list","count","album_menu","album_menu_active","album_menu_sub","album_menu_sub_active"); ?>

I can only see the top level albums.

An other thing is, in the output HTML i get this:

`

Comments

  • acrylian Administrator, Developer
    1) Yes, that is supposed behaviour. The menu is context sensitive and shows subalbum only if you selected a top level album that has some or in one of the subalbums (the next levels also context sensitive). This was implemente by user request to save space.
    http://www.zenphoto.org/documentation/zenphoto/_plugins---print_album_menu.php.html

    2) Thanks for that! You really make me feel ashamed, that error must have been there for a long time but I didn't notice it. Of course that has to be a css class.... I will correct that soon!
  • Miem Member
    Thanks for your quick answer. Glad to help even if it is this small thing. ;-)

    I will try and find a way to expand the list with all the submenu's visible.
  • acrylian Administrator, Developer
    :-)

    I will see if it's easy to make this an option. If you need that fast take a look at the plugin's printAlbumMenuJump() function in the nightly, you could easily make a custom function out of that (see the theming guide for info about that) and turn that into a list.
  • Miem Member
    Thanks again. I notice the jumpmenu showing the subalbums. I will look in to it later. First I have to make my own theme work the way I want it. :-)
  • acrylian Administrator, Developer
    Anyway, thanks to your bug find I found another one, the html nested lists are not correctly (well, never change a running function...:-)) Will take some more time I guess... But when I got that right again the list will have an option to always show the subalbums.
  • Miem Member
    Jippieeeeeeeeee, you are great.
Sign In or Register to comment.