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 `<?php printAlbumBreadcrumb("", " | "); ?>` 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
Comments
I created this and it worked:
`
" title="<?php echo gettext('Return to index'); ?>">Index | <?php printParentBreadcrumb("", " | "); ?> " title="<?php echo gettext('Return to album thumbnails'); ?>"><?php echo getAlbumTitle(); ?> |
`<?php printImageTitle(true); ?>
TIA
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
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.
How can I have a tooltip on album 2013?
TIA
Can you help me on this one?
Via the `<?php printParentBreadcrumb("", " | "); ?>` I want a custom function to have a tooltip on the album 2013.
TIA
I'm confused right now, the printparentbreadcrumb has no tooltip function.
To have a tooltip on that album I have to place it on the backend album description field.
But I think that is not the right angle for my problem.
TIA