Hi All,
Almost 9 months ago I asked the same question, but this worked with the early ZP installs.
Now with the latest ZP installs this function had a update so my modified function don't work anymore.
How do I get a tooltip on the `` function?
I tried the subalbum description, because with a album this is working, but with a subalbum not.
Now i have this working: Index | 2013 | Amsterdam |
Index = return to index, controlled by getGalleryIndexURL
2013 = return to albums, controlled by album description
Amsterdam = no tooltip
The function on template function
function printAlbumBreadcrumb($before = '', $after = '', $title = NULL) { if ($breadcrumb = getAlbumBreadcrumb($title)) { if ($before) { $output = '' . html_encode($before) . ''; } else { $output = ''; } $output .= ""; $output .= html_encode($breadcrumb['title']); $output .= ''; if ($after) { $output .= '' . html_encode($after) . ''; } echo $output; } }
TIA
Hi,
Still one question.... the tooltip from the album is controlled by the album description. But when I activate the html_meta_tags the description content in the header will be return to album.
Can I have a tooltip for the album 2013 without the album description in the backend?
So:
Index = return to index, controlled by getGalleryIndexURL...ok now.
2013 = return to albums, controlled backend album description
Amsterdam = return to album thumbnails, controlled by getAlbumLinkURL...ok now.
TIA
I am sorry I don't understand what you mean by [i]But when I activate the html_meta_tags the description content in the header will be return to album.[/i]
The html_meta_tags plugins uses the content of the page itself to generate those tags. You can make your breadcrumb function with whatever you like as your tooltip.