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 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
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Since: 1.2
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 "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".
integer $firstimagelink = false $showsubs 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 $keeptopactive = false $firstimagelink 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,… 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
Zenphoto doc API documentation generated by ApiGen