Album menu function update

acrylian Administrator, Developer
I have updated my little album menu function. This is new:
- Option for album list or a drop down jump menu if you want to save space
- Displays the number of images in the album (like e.g. wordpress does with articles)
- Option for disabling the counter
- Parameters for CSS-Ids for styling, separate ones for main album and subalbums
- Renamed the functions name from show_album_menu() to more zp style printAlbumMenu()

There are two versions:
One for the official 1.0.2.8. release (made before there was the updated build):
This version lists main albums by sort order. So I recommend that you always set a sort order to your albums, even if you have not sorted anything.
Subalbums are listed by title because the missing subalbum sorting in the 1.0.8.2 release.

One for the zenphoto_updated package:
This version lists main and sub albums by sort order because thanks to sbillard's new subalbum functions and aitf311's zenphoto_updated build.
As with the first version set a sort order to your albums and subalbums even if you have not sorted anything.

Usage instruction is included as a commentary on top of each file.

You can download them both here:
print_album_menu-official.zip
print_album_menu-updated.zip

Comments

Sign In or Register to comment.