![]() |
|
zpMobile theme : adding <href> gets Uncaught ReferenceError - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: zpMobile theme : adding <href> gets Uncaught ReferenceError (/thread-12795.html) |
zpMobile theme : adding <href> gets Uncaught ReferenceError - pled - 27-07-2015 Hi, I upgraded to Zenphoto 1.4.9, and selected the zpmobile theme (for the responsive design). So far so good... Now I am trying to add an external link into the theme to be able to get back to my wordpress theme. I added the following code into the jqm_printMenusLinks() function (or in index.php before the call to that function): Retour au Blog It displays fine as a new button as expected, but wherever I click on it, I get some "Uncaught ReferenceError $ is not defined" (where $ in one of the functions used by wordpress). Error is raised by jquery.js. I am not a developer, so pardon me if this is stupid. But is there a way to add such a link properly into that theme ? Thank you, zpMobile theme : adding <href> gets Uncaught ReferenceError - acrylian - 27-07-2015 Try adding zpMobile theme : adding <href> gets Uncaught ReferenceError - pled - 27-07-2015 Cool, it works fine ! Thanks a lot for the quick answer. zpMobile theme : adding <href> gets Uncaught ReferenceError - pled - 29-07-2015 By the way, I created a small bug for that theme in github. See : It is about the search button on the search page, not working on computer (but OK for mobiles). Hope that helps, |