Member
Member
Newzic   2008-12-06, 19:54
#1

Hello,

as printParentBreadcrumb() return a link to the parent album of the current album, I think that missing two functions:

getParentAlbumTitle()
getBareParentAlbumTitle()

Do you have an idea to code this php function for my template?

Member
Member
sbillard   2008-12-06, 21:06
#2

You get the parent album by $parent = $_zp_current_album->getParent();
From there you can get the title (`$album->gettitle();') and clean it up as needed for your theme.

These and all other functions are described in our functions guide on the zenphoto website.

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