Tagged: album disappears, theme waever pro
-
AuthorPosts
-
June 30, 2016 at 13:34 #7170AnonymousInactive
Sorry, this is not a new topic but I cannot find a previous anymore. ;-(
When I load a preview the album shows less then a second and then it disappears. The solution was to change something in script.js. I tried to find the folder mentioned but I did not find it. My theme is Weaver.
Someone recommended to find the real cause and stop/start other plugins to find that cause. I did so with the plugins I can miss but it did not solve the probleme.
I am a new time user. I made an album and a gallery. The code on a testpage: [gmedia id=2].So could you please advise me what to do when using theme Weaver?
Thanks
Rudolph Smits, NetherlandsJune 30, 2016 at 15:21 #7171RattusKeymasterI need a link to the gallery page, so I can see what happens.
June 30, 2016 at 19:26 #7172AnonymousInactiveRattus
I made a testpage just to learn first how to manage GMedia-facilities.
It is http://www.magoster.com/gmedia-gallery/.
I will delete this page later.I hope you can help me!
Regards
Rudolph SmitsJune 30, 2016 at 19:46 #7173RattusKeymasterUncaught TypeError: Cannot read property ‘msie’ of undefined ($.browser.msie)
Some of your plugins or theme uses jQuery plugin called:
“jQuery Cycle Plugin Transition Definitions”This plugin is outdated and uses function deprecated in jQuery built in the latest version of WordPress. JS error prevent Gmedia Gallery to work properly.
Try add to some of your theme’s js files code below:
jQuery.browser = {}; (function () { jQuery.browser.msie = false; jQuery.browser.version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { jQuery.browser.msie = true; jQuery.browser.version = RegExp.$1; } })();
Reference:
The jQuery.browser() method has been deprecated since jQuery 1.3 and is removed in 1.9
$.browser on jQuery 1.9.x for legacy IE detectionJune 30, 2016 at 20:52 #7174AnonymousInactiveWow, this is becoming pretty difficult. This outdated version have to come from somewhere. In my header is have this code:
<!– Start Scripts for jQuery –>
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js”></script>
Is this possibly to old?An other JQuery-load is in the booking-form for a date picker.
// jQuery javascript
echo ‘<script language=”JavaScript” type=”text/javascript” src=”http://vakantiehuisverhuur.eu/jquery-ui-1/development-bundle/jquery-1.6.2.min.js”></script>’;
// –> jQueryUI core
echo ‘<script language=”JavaScript” type=”text/javascript” src=”http://vakantiehuisverhuur.eu/jquery-ui-1/development-bundle/ui/jquery.ui.core.js”></script>’;Don’t get confused by other site name; magoster.nl has the same,
So I use versions that can be overdue. Do you have an opinion about that.Thanks by the way for your help.I appreciate that!
Regards
Rudolph SmitsJune 30, 2016 at 21:42 #7175RattusKeymasterThemes and plugins should load built in WordPress jQuery and should never load it from third parties, because different plugins could load different versions of the same library which can call JS conflict error.
I can’t tell you from where is the outdated script because you use Autoptimize plugin which cache all JS in one file.June 30, 2016 at 22:01 #7176AnonymousInactiveRattus, I think you are helping me to a very important finding. There is an error in my sites the troubles me more often.
http://www.magoster.com is very much a test site. What I learn there I use in three other sites.I have deactivated Autoptimize. Could you help me one more time?
June 30, 2016 at 22:32 #7177RattusKeymasterThe problem is in ‘/wp-content/themes/weaver-ii-pro/js/weaverjslib.min.js’ file.
Try edit it and paste at the very top of file the code I’ve posted before (https://codeasily.com/community/topic/albums-disappears-after-loading/#post-7173)July 1, 2016 at 09:08 #7178AnonymousInactiveRattus, magician, it works!
Thanks a lot. I can now spend my time on learning more about GMedia. And I will certainly do so this weekend. So thanks again for your help and patience!
Rudolph Smits
NetherlandsJuly 1, 2016 at 13:42 #7179RattusKeymasterDon’t forget to rate Gmedia Gallery: http://wordpress.org/support/view/plugin-reviews/grand-media
July 1, 2016 at 20:47 #7180AnonymousInactiveRattus, I will surely do so.
But I will first get to know more about GMedia. That will take a little time. -
AuthorPosts
- The forum ‘Modules’ is closed to new topics and replies.