![]() |
|
1.4.5-dev gallefiffic script doesn't work anymore - 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: 1.4.5-dev gallefiffic script doesn't work anymore (/thread-11042.html) Pages:
1
2
|
1.4.5-dev gallefiffic script doesn't work anymore - vincent3569 - 2013-05-08 Hi Currently, I try to adapt my theme to zenphoto 1.4.5. any idea, where the problem could be ? 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-08 The galleriffic script probably is not compatible with the latest jQuery we use on 1.4.5. Try if this one helps: 1.4.5-dev gallefiffic script doesn't work anymore - vincent3569 - 2013-05-08 This migrate plugin will be in included in next release of zenphoto ? 1.4.5-dev gallefiffic script doesn't work anymore - sbillard - 2013-05-08 The suggested method of including it is to include the following where in your scripts where needed (see acrylian's link for details): ``
1.4.5-dev gallefiffic script doesn't work anymore - vincent3569 - 2013-05-09 With jcaroussel you add migrate plugin by theme_head filter ? 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-09 Maybe we should make the migrate plugin a simple plugin of its own so no one needs to include it twice? The replacement will be this one: https://github.com/zenphoto/zenphoto/issues/349 Sadly time issue kept me to start on it in time. 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-09 They just released an update of the migrate plugin: 1.4.5-dev gallefiffic script doesn't work anymore - sbillard - 2013-05-09 Probably we should not make this a plugin. It is not needed in general and should be loaded only where there are js scripts that require it. Thus the decision is with the useage. We have no need to follow updates as the one we load does make our script work. However for other scripts that may be different. 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-09 But in that case jcarousel should not load it by itself, shouldn't it? jCarousel is normally used on the image.php page. What if someone has other scripts that require it and loads it in the theme. He would load it two times as we have no official way to prevent that (besides the consolidator plugin which is optional and probably not really known) 1.4.5-dev gallefiffic script doesn't work anymore - sbillard - 2013-05-09 Really, you should do your research. The plugin loads the compatibility script at the same point it loads the jcarousel scripts which, naturally, is the proper place. 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-09 That was not my point. 1.4.5-dev gallefiffic script doesn't work anymore - vincent3569 - 2013-05-10 I installed the migrate plugin and galleriffic works again. 1.4.5-dev gallefiffic script doesn't work anymore - fdnyfish - 2013-05-10 how do you install the plugin 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-10 No installation, it is a jquery plugin you have to include manually. If you use the jCarousel plugin it loads it for itself as well. So beware of double inclusion. 1.4.5-dev gallefiffic script doesn't work anymore - vincent3569 - 2013-05-12 I agree with the remark of acrylian: there should be a plugin that allows you to load the jquery migrate script. considers that zpArdoise theme is distributed, and it needs migrate script, but I do not have a lot of means to verify that the migration script is already loaded or not, and avoid several loading of script. 1.4.5-dev gallefiffic script doesn't work anymore - tplowe56 - 2013-05-13 Vincent, can you please advise where to put the migration code, for zpArdoise? Thanks 1.4.5-dev gallefiffic script doesn't work anymore - sbillard - 2013-05-13 This migration code is nothing to do with Zenphoto in general, it is maybe required if a theme is using scripts that have not been updated to the current requirements of jQuery. A normal user will have no clue that the migration script is required so will not enable a plugin if it existed. Only the theme developer will know that the migration is required so must deal with getting the script loaded (be it plugin or simply the one line of code that is required.) A plugin is simply overkill for one line of code that only the theme developer knows is needed. 1.4.5-dev gallefiffic script doesn't work anymore - vincent3569 - 2013-05-13 of course I agree, add the jquery migrate script in my theme is very easy to do. BUT, what can happen with several loading of this script (loaded by jcarroussel plugin and by zpArdoise) ? 1.4.5-dev gallefiffic script doesn't work anymore - acrylian - 2013-05-13 That is actually my point. Even if there are no conflicts you are loading one file unnecessarily. 1.4.5-dev gallefiffic script doesn't work anymore - tplowe56 - 2013-05-13 Vincent, It's too bad that development on Gallerific has stopped. |