ZenphotoCMS Forum
How to get the last item in the breadcrumb becoming a link - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to get the last item in the breadcrumb becoming a link (/thread-9202.html)



How to get the last item in the breadcrumb becoming a link - jackdaw - 2011-11-03

I thought I had this once, but completely forgot how I did this

When viewing a single image in image.php, I have a breadcrumb above it. When navigating to next images, I'd like the last link in the breadcrumb to be a link to the album page this image is on. Because now I have to click on the parent album and then start all over, like this.




How to get the last item in the breadcrumb becoming a link - acrylian - 2011-11-03

The is fairly basic and standard theme stuff using the printalbumbreadcrumb function (please see documentation or standard themes for the correct name) actually.




How to get the last item in the breadcrumb becoming a link - jackdaw - 2011-11-03

Got it!

I was a bit confused because printParentBreadcrumb says 'Prints the breadcrumb navigation for album, gallery and image view' (so to my understanding a breadcrumb for all purposes...).

Thanks again.




How to get the last item in the breadcrumb becoming a link - acrylian - 2011-11-03

Yeah, for albums there is something extra. And Zenpage pages/news have their own breadcrumb functions. And if you use the menu manager that has also some to match the menu.