Function printAlbumMenu
Prints a list of all albums context sensitive. Since 1.4.3 this is a wrapper function for the separate functions printAlbumMenuList() and printAlbumMenuJump(). that was included to remain compatiblility with older installs of this menu.
Usage: add the following to the php page where you wish to use these menus: enable this extension on the zenphoto admin plugins tab. Call the function printAlbumMenu() at the point where you want the menu to appear.
Package: plugins\print-album-menu
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Since: 1.2
Located at zp-extensions/print_album_menu.php
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Since: 1.2
Located at zp-extensions/print_album_menu.php
string |
$option |
<p>"list" for html list, "list-top" for only the top level albums, "omit-top" same as list, but the first level of albums is omitted "list-sub" lists the offspring level of subalbums for the current album "jump" dropdown menu of all albums(not context sensitive)</p> |
boolean |
$showcount = NULL |
true for a image counter or subalbum count in brackets behind the album name, false for no image numbers or leave blank |
string |
$css_id = '' |
insert css id for the main album list, leave empty if you don't use (only list mode) |
string |
$css_class_topactive = '' |
insert css class for the active link in the main album list (only list mode) |
string |
$css_class = '' |
insert css class for the sub album lists (only list mode) |
string |
$css_class_active = '' |
insert css class for the active link in the sub album lists (only list mode) |
string |
$indexname = "Gallery Index" |
insert the name how you want to call the link to the gallery index (insert "" if you don't use it, it is not printed then) |
integer |
$showsubs = NULL |
Set to depth of sublevels that should be shown always. 0 by default. To show all, set to a true! Only valid if option=="list". |
boolean |
$firstimagelink = false |
If set to TRUE and if the album has images the link will point to page of the first image instead the album thumbnail page |
boolean |
$keeptopactive = false |
If set to TRUE the toplevel album entry will stay marked as active if within its subalbums ("list" only) |
integer |
$limit,… |
truncation of display text |