ZenphotoCMS Forum
Breadcrumb navigation in conjunction with search - 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: Breadcrumb navigation in conjunction with search (/thread-2060.html)

Pages: 1 2


Breadcrumb navigation in conjunction with search - BertSimons - 2008-01-25

sbillard.. just reread your reply to my post above... I have never never set an password for my site.. should be there at www.bertsimons.nl




Breadcrumb navigation in conjunction with search - sbillard - 2008-01-25

It was steffen's site that was password protected. When he opened it up I saw what was going in with his problem. What do I need to do to see the problem on your site?




Breadcrumb navigation in conjunction with search - steffen - 2008-01-25

It works now. Thank you!




Breadcrumb navigation in conjunction with search - steffen - 2008-01-25

Sorry, but I discovered another wrong behavior concerning this topic.

I modified the image.php a little. Instead of using the function getProtectedImageURL() to show up the image, I did include getAlbumLinkURL() to go back to the album/subalbum. But the link generated by getAlbumLinkURL() leads not back to the related subalbum. In case of the above mentioned example the link to the subalbum looks like this: http://www.synnatschke.com/gallery/north-america/usa/arizona/misc/page/2

The correct one should be this: http://www.synnatschke.com/gallery/north-america/usa/arizona/misc/




Breadcrumb navigation in conjunction with search - sbillard - 2008-01-25

Yes, that is not going to work. There really is no album link for search image pages.

What you will have to do is add $_zp_page=1; before you use getAlbumLinkURL(); We can make this part of getAlbumLinkURL().




Breadcrumb navigation in conjunction with search - steffen - 2008-01-25

Sounds good, thank you!




Breadcrumb navigation in conjunction with search - steffen - 2008-01-25

I tried your recent changes (1070) you did in getAlbumLinkURL(). The line $page = $_zp_current_image->getAlbumPage(); caused an error:

Fatal error: Call to a member function on a non-object in ...zp-core/template-functions.php on line ...




Breadcrumb navigation in conjunction with search - sbillard - 2008-01-25

Thanks. I probably should not be writing code at 3am!




Breadcrumb navigation in conjunction with search - steffen - 2008-01-25

I am afraid your "bug fix" causes another error. Please follow this link: http://www.synnatschke.com/gallery/north-america/usa/arizona/coyote-buttes-north/the-sky-is-the-limit.jpg.html




Breadcrumb navigation in conjunction with search - steffen - 2008-01-26

The latest patch cures all problems. Thank you.




Breadcrumb navigation in conjunction with search - sbillard - 2008-01-26

Thanks for the report. Also thanks for your dillagence in helping find and fix these problems.