Forum Replies Created
-
AuthorPosts
-
nigelhayler
ParticipantAdditional note to my comment above:
Much further investigation and I find a single line of JavaScript in my theme is throwing an error only on events pages. That was it for me – enough to throw the whole events plugin maps off-kilter somehow. Now I have fixed my own error the map shows up fine, even with my jQuery enqueue re-instated. I’m sure this kind of issue is the bane of plugin-development!Maximumedia – not sure if this helps, but I’ve noticed on the example page that you’ve given where your map isn’t working, I get this JavaScript error:
Error: ReferenceError: st_go is not defined
Source File: http://drinkin.beer/event/winterfest_2015/
Line: 1242
Which looks like something to do with the WordPress stats script I think. Could that be killing off your map perhaps?nigelhayler
ParticipantHi, This is very early days for me here, I’ve only just purchased your events plugins (Pro, Community & Filter).
My first experiments with events today did this very same thing – no map in the map box. I also found that switching to TwentyFourteen made the map appear.
Within the enqueues in the theme I’m building I have no Google Maps, but I did try commenting out my custom jQuery enqueue. Having done that the maps then appear properly on the event pages. The result at the moment is that jQuery isn’t queued on non-event pages of course, which I need to fix!
I wonder if this is any help to this discussion? Enqueuing jQuery seems to be at the heart of my mapless problem.
Nige -
AuthorPosts
