Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • CI_jsmin
  • CI_load
  • codeIgniter_kludge
  • comment_form
  • contactformOptions
  • GoogleMap
  • hitcounter
  • jquery_rating
  • menu_manager
  • mobile
  • mobileTheme
  • multipleLayoutOptions
  • pagedThumbsNav
  • pagedthumbsOptions
  • print_album_menu
  • tagsuggest
  • TextObject
  • zenpagecms

Functions

  • addGeoCoord
  • checkChosenItemStatus
  • checkChosenMenuset
  • checkIfNew
  • checkLayoutUseForImages
  • checkParentLayouts
  • checkRequiredField
  • checkSelectedAlbum
  • copyLayoutSelection
  • createMenuIfNotExists
  • createRelatedItemsResultArray
  • deleteLayoutSelection
  • get_instance
  • getAlbumGeodata
  • getAlbumStatistic
  • getAllTagsFromAlbum
  • getAllTagsFromAlbum_multi_unique
  • getAllTagsFromZenpage
  • getCurrentMenuItem
  • getField
  • getGeoCoord
  • getHitcounter
  • getImageGeodata
  • getImageStatistic
  • getItem
  • getItemTitleAndURL
  • getLayout
  • getLayoutSelector
  • getMenuFromLink
  • getMenuItemChilds
  • getMenuItems
  • getMenumanagerPredicessor
  • getMenumanagerSuccessor
  • getMenuVisibility
  • getNewsArchiveURL
  • getNewsIndexURL
  • getNumAllSubalbums
  • getParentMenuItems
  • getRating
  • getRelatedItems
  • getSelectedLayout
  • inventMenuItem
  • layoutSelector
  • layoutSelector_album
  • log_message
  • menu_admin_toolbox_global
  • menu_tabs
  • omsAdditions
  • printAlbumMenu
  • printAlbumMenuJump
  • printAlbumMenuList
  • printAlbumMenuListAlbum
  • printAlbumStatistic
  • printAlbumStatisticItem
  • printAllTags
  • printAllTagsFromAlbum
  • printAllTagsFromZenpage
  • printCommentForm
  • printContactForm
  • printCustomMenu
  • printGoogleMap
  • printImageStatistic
  • printLatestAlbums
  • printLatestImages
  • printLatestImagesByDate
  • printLatestImagesByMtime
  • printLatestUpdatedAlbums
  • printMenuemanagerPageList
  • printMenuemanagerPageListWithNav
  • printMenumanagerBreadcrumb
  • printMenumanagerNextLink
  • printMenumanagerPrevLink
  • printMostRatedAlbums
  • printMostRatedImages
  • printPagedThumbsNav
  • printPopularAlbums
  • printPopularImages
  • printRating
  • printRelatedItems
  • printTopRatedAlbums
  • printTopRatedImages
  • saveLayoutSelection
  • saveZenphotoLayoutSelection
  • showOrNotShowField
  • submenuOf
  • tagSuggestJS
  • tagSuggestJS_admin
  • tagSuggestJS_frontend
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function printAlbumMenuList

Prints a nested html list of all albums context sensitive.

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 printAlbumMenuList() at the point where you want the menu to appear.

Package: plugins
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Located at zp-extensions/print_album_menu.php
Parameters summary
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</p>
boolean $showcount = NULL true for a image counter in brackets behind the album name, false for no image numbers or leave empty
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 = '' $css_id_active 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 (default "Gallery Index") 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)
boolean $startlist = true set to true to output the UL tab (false automatically if you use 'omit-top' or 'list-sub')
integer $limit = NULL truncation of display text
Return value summary
html list of the albums
Zenphoto doc API documentation generated by ApiGen