Home › Forums › Calendar Products › Events Calendar PRO › Plugin conflict effecting nav menu on event calendar & event pages
- This topic has 11 replies, 2 voices, and was last updated 10 years, 7 months ago by
Brian.
-
AuthorPosts
-
September 14, 2015 at 4:19 pm #1005051
Lynn Shield
ParticipantI’m having a problem with a conflict. Wiki-embed plugin makes all nav menu links on event calendar & lsingle event listing pages non-functional (except for link to event calendar!) When wiki-embed plugin is activated,
<li id="menu-item-1106" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1106"><a href="http://amadorchamber.com/communities/ione/">Ione</a></li>becomes
<li id="menu-item-1106" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1106"><a>Ione</a></li>wiki-embed developer is not responding to support threads. Any chance you can shed some light on what might be wrong?
-
This topic was modified 10 years, 7 months ago by
Lynn Shield.
-
This topic was modified 10 years, 7 months ago by
Lynn Shield.
September 14, 2015 at 4:23 pm #1005055Lynn Shield
ParticipantThis reply is private.
September 14, 2015 at 6:40 pm #1005123Brian
MemberHi,
Sorry for the issues you are having. I can try to help out, but I am limited in supporting 3rd party coding and may not be able to find a solution.
I took a look at your site, but not sure where the issue is.
I visited the events page and it loaded for me.
Can you provide the link where this is happening and I can take a look.
Thanks
September 15, 2015 at 10:21 am #1005334Lynn Shield
ParticipantHey Brian!
I understand that what you can do on something like this is limited and I appreciate your willingness to have a look at it.
If you visit the events page and mouse over the nav manu, you will see that except for the events link, the links are not links at all, the cursor does not change to a pointer. The code I pasted in my first post shows what the problem is.
On other pages the problem does not exist.
Thanks!
Bud
September 15, 2015 at 10:24 am #1005337Lynn Shield
ParticipantThis reply is private.
September 15, 2015 at 1:37 pm #1005398Brian
MemberHi,
I took a look at see what you mean.
I see this in the console:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
http://maps.googleapis.com/maps-api-v3/api/js/22/2/main.js
Line 69Do you have another plugin that has google maps? Or does the Wiki-embed plugin have good maps? Can it be turned off to see if that helps.
Fixing that issue might resolve this.
Let me know what you find out.
Thanks
September 15, 2015 at 3:52 pm #1005443Lynn Shield
ParticipantI have a directory plug in that has maps and is vital to the site but it is set to not load the maps api.
Google Maps API
Do not include Google Maps API at frontendSome themes and 3rd party plugins include Google Maps API – this may cause conflicts and unstable work of maps at the frontend.
Do not include Google Maps API at backend
Some themes and 3rd party plugins include Google Maps API – this may cause conflicts and unstable work of maps at the backend.
—
I also have a map plugin for one specific map. I’ve just deactivated it for troubleshooting purposes. Made no difference. I’ll leave it off for now.
Searching through the source code of the events calendar page I only find one instance of maps.googleapis.com
My debug plug in shows no errors for this. It did until I turned off the directory api settings.
-
This reply was modified 10 years, 7 months ago by
Lynn Shield.
September 16, 2015 at 12:05 pm #1005722Brian
MemberHi,
I looked again and really not sure what the conflict is. It appears to be javascript based.
If I had to troubleshoot it I would start by trying to narrow down the conflicting scripts by removing them and then try to figure out the issue from there.
This is such a strange issue, but maybe a Google Search could reveal a similar problem and a solution too.
Also, the Event Views are archives in WordPress so that might be a piece to this puzzle.
Sorry I do not have more on this, but can try to answer some more questions.
Thanks
September 16, 2015 at 1:02 pm #1005746Lynn Shield
ParticipantOK, here’s what I did:
I copied the source code down to the closing head tag with the wiki plugin activated and then deactivated and compared both. I found 6 differences:
#1
with wiki plugin disabled, html has:
<script type="text/javascript">
(on line 26)(no closing script tag!)enabled, changes to:
<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/amadorchamber.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.3"}}; !function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings); </script>#2
<script src="http://maps.google.com/maps-api-v3/api/js/22/5a/main.js">
changes to
<script src="http://maps.googleapis.com/maps-api-v3/api/js/22/5a/main.js">#3 thru 5
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.google.com/maps-api-v3/api/js/22/5a/common.js”>
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.google.com/maps-api-v3/api/js/22/5a/util.js”>
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.google.com/maps-api-v3/api/js/22/5a/geocoder.js”>changes to
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.googleapis.com/maps-api-v3/api/js/22/5a/common.js”>
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.googleapis.com/maps-api-v3/api/js/22/5a/util.js”>
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.googleapis.com/maps-api-v3/api/js/22/5a/geocoder.js”>#6
<script type="text/javascript" charset="UTF-8" src="http://maps.googleapis.com/maps/api/js/AuthenticationService.Authenticate?1shttp%3A%2F%2Famadorchamber.com%2Fcalendar%2F&callback=_xdc_._psc7q8&token=10634">
this one goes away completely when the wiki plugin is activated-
This reply was modified 10 years, 7 months ago by
Lynn Shield.
-
This reply was modified 10 years, 7 months ago by
Lynn Shield.
September 16, 2015 at 1:10 pm #1005749Lynn Shield
Participant#2 should read
<script src=”http://maps.google.com/maps-api-v3/api/js/22/5a/main.js”> (line 92)
changes to
<script src=”http://maps.googleapis.com/maps-api-v3/api/js/22/5a/main.js”>
#6 should read
<script type=”text/javascript” charset=”UTF-8″ src=”http://maps.googleapis.com/maps/api/js/AuthenticationService.Authenticate?1shttp%3A%2F%2Famadorchamber.com%2Fcalendar%2F&callback=_xdc_._psc7q8&token=10634″> (line 118)
goes away completely
September 16, 2015 at 2:49 pm #1005803Lynn Shield
ParticipantPROBLEM SOLVED! Plugin Logic plugin allows me to activate the wiki plugin only where needed.
Thanks for taking a look at this for me anyway!
September 16, 2015 at 2:55 pm #1005809Brian
MemberGreat, glad you found a resolution.
That is actually a great idea.
Here is the plugin link for anyone else:
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
This topic was modified 10 years, 7 months ago by
-
AuthorPosts
- The topic ‘Plugin conflict effecting nav menu on event calendar & event pages’ is closed to new replies.
