Pages (2):    1 2
Member
Member
BertSimons   2008-01-25, 04:29
#21
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
Member
Member
sbillard   2008-01-25, 07:07
#22
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?
Member
Member
steffen   2008-01-25, 09:45
#23
It works now. Thank you!
Member
Member
steffen   2008-01-25, 10:24
#24
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/
Member
Member
sbillard   2008-01-25, 11:19
#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()`.
Member
Member
steffen   2008-01-25, 12:12
#26
Sounds good, thank you!
Member
Member
steffen   2008-01-25, 16:20
#27
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 ...
Member
Member
sbillard   2008-01-25, 17:49
#28
Thanks. I probably should not be writing code at 3am!
Member
Member
steffen   2008-01-25, 22:04
#29
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
Member
Member
steffen   2008-01-26, 10:03
#30
The latest patch cures all problems. Thank you.
Member
Member
sbillard   2008-01-26, 21:38
#31
Thanks for the report. Also thanks for your dillagence in helping find and fix these problems.
Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.