Administrator
Administrator
acrylian   2007-09-06, 16:44
#1

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

Member
Member
aitf311   2007-09-06, 17:30
#2

I have added this to the latest community build

Administrator
Administrator
acrylian   2007-09-07, 08:25
#3

Just added the functions and a small update of my image counter to the trac

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.