ZenphotoCMS Forum
keyboardnav-extended not working in Firefox & Safari - 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: keyboardnav-extended not working in Firefox & Safari (/thread-12152.html)



keyboardnav-extended not working in Firefox & Safari - zorglub - 2014-12-04

Hello,

I was happy to see an update to the original keyboardnav from Laurent Marineau but the new plugin did not work. I realized that it added the & in the URL for $prevurl and $nexturl

http://mysite.com/zenphoto/index.php?album=foo/bar&image=image-5.jpg

changing htmlspecialchars to htmlspecialchars_decode line 110 & 114 fixed the issue

just my 0.2 cents




keyboardnav-extended not working in Firefox & Safari - acrylian - 2014-12-04

Thanks, you are right. You also could have opened a ticket on its repo ;-)

This issue primarily only surfaces if you don't enable SEO friendly modrewrite links. I fault as I apparently forgot to test non modrewrite links as I cannot imagine that anyone uses them still nowadays (or even a shared hoster not supporting modrewrite). At least I learn that way that someone actually uses this ;-)

Update is up.




keyboardnav-extended not working in Firefox & Safari - zorglub - 2014-12-09

Thanks Acrylian,

I was unsure if this was a bug or something wrong with my environment, after reading your reply I did some reading on mod_rewrite and enabled it on my server

a2enmod rewrite
service apache2 restart

Thanks for your help