Member
Member
Miem   2008-06-04, 15:57
#1
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:

`<ul id='album_menu'>

[*]Foto Albums

<li id='album_menu_active'>Familie weekend 2007

<li id='album_menu_active'>Feest Anja 2008 (154)`

As you see there is two times made use of the same id, this will nit validate.
Administrator
Administrator
acrylian   2008-06-04, 17:11
#2
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!
Member
Member
Miem   2008-06-04, 17:34
#3
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.
Administrator
Administrator
acrylian   2008-06-04, 17:43
#4
:-)

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.
Member
Member
Miem   2008-06-04, 18:17
#5
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. :-)
Administrator
Administrator
acrylian   2008-06-04, 18:32
#6
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.
Member
Member
Miem   2008-06-04, 19:04
#7
Jippieeeeeeeeee, you are great.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.