Home › Forums › Calendar Products › Events Calendar PRO › Theme Conflict
- This topic has 18 replies, 2 voices, and was last updated 12 years, 6 months ago by
Barry.
-
AuthorPosts
-
October 1, 2013 at 4:30 pm #68681
insyte
ParticipantThe problem appears to only happen with my theme, but please help me because my theme’s developers won’t help. They said bring it to the plugin’s dev team so here I am. I also had to upgrade to Pro because the free forum said it was beyond their scope of support.
The default month view appears fine, and the events show up fine, but when I switch to list view they disappear. Also when I switch back to month, it stays gone. The search function appears not to be working as well.
The map doesn’t appear in my listings, also specific to my theme.
Also the mobile version of the month calendar is slightly off. That isn’t just in my theme, the 2012 theme also looks a bit off so if you’re still working on this, I understand. If you can take a look at the calendar in mobile form on my theme, maybe there’s a fairly simple fix?
Last thing, can you tell me the optimal image sizes for the different image views.
October 3, 2013 at 9:25 am #69002insyte
ParticipantAny thoughts?
October 3, 2013 at 9:32 am #69004insyte
ParticipantSorry I forgot:
http://www.virginiabridetoday.com/eventsOctober 3, 2013 at 10:50 am #69034Barry
MemberHi insyte,
There are a few Javascript errors that would need to be resolved (one is that the Google Maps API is being loaded multiple times – perhaps your theme is also doing this if the problem goes away when you switch to a default theme)?
I don’t want to get into a game of pingball with your theme vendor, but would you be able to ask them for a snippet to disable (or to not enqueue/dequeue) their Google Maps related scripts on events pages? On our end we can certainly provide a conditional statement useful for detecting if the page is an events-oriented one or not, which looks like:
if ( tribe_is_event_query() ) { /* theme vendor snippet! */ }October 3, 2013 at 11:30 am #69041insyte
ParticipantAwesome. Ok I just requested this. What do you think about the other problems?
October 3, 2013 at 1:06 pm #69064Barry
MemberThe map doesn’t appear in my listings, also specific to my theme.
So this issue is almost certainly one and the same as the other problem – Google Maps is being pulled in twice (or more) and breaking as a consequence.
Also the mobile version of the month calendar is slightly off.
Not too sure if you mean there is a specific fault or just that it isn’t quite as responsive/small-screen friendly as it could be. If it’s the latter, then yes we are aware that some further tweaks may be required to really optimize the experience – though we haven’t laid down any solid plans in this regard just yet.
Last thing, can you tell me the optimal image sizes for the different image views.
You should be finding the size is consistent as WordPress takes care of resizing featured images ‘magically’. Within reason, then, bigger is better – but this isn’t something we can really offer to much advice for, much depends on your target audience, load speed, theme and other factors.
October 3, 2013 at 1:10 pm #69066insyte
ParticipantMy main problem was more about the list view disappearing, and the search function not working. Is this all because of Google Maps?
October 3, 2013 at 3:14 pm #69076Barry
MemberQuite possibly, because certain forms of Javascript error can have a knock-on effect that basically prevent other pieces of code from running. It’s certainly the first thing I’d recommend looking at here.
October 9, 2013 at 12:31 pm #70166insyte
ParticipantHi,
I finally got an answer. It’s here on this thread:
http://byaviators.com/forum/google-map-api-disable
So here is the section of code I believe they are referring to:
wp_enqueue_script(‘fancybox’);
wp_enqueue_script(‘googlemaps3’);
wp_enqueue_script(‘infobox’);
wp_enqueue_script(‘bootstrap’);
wp_enqueue_script(‘retina’);
wp_enqueue_script(‘clusterer’);
wp_enqueue_script(‘chosen’);
wp_enqueue_script(‘map’);
wp_enqueue_script(‘iosslider’);
wp_enqueue_script(‘cookie’);
wp_enqueue_script(‘ezmark’);
wp_enqueue_script(‘chosen’);
wp_enqueue_script(‘carousel’);
wp_enqueue_script(‘aviators’);If you notice there are two things that refer to maps, googlemaps3 and map. Can you tell me how to “wrap” that code around that, or those, sections? I tried it but I probably missed something small that didn’t let it work.
October 10, 2013 at 8:17 am #70297Barry
MemberDoes this help? It’s hard to guarantee anything (since I don’t necessarily know which scripts have been registered to which handles) but that’s a fair educated guess to start with.
October 11, 2013 at 9:53 am #70558insyte
ParticipantPerfect! Thank you so much!
October 11, 2013 at 10:12 am #70564insyte
ParticipantActually no, sorry. It did make the list view work and the maps within the listings, once. I went back to check the search function and it didn’t work again. The list view and everything disappeared like it did before. I cleared the cache in my browser and ftp thinking maybe because it was loaded multiple times like you said, but it still didnt work.
If you need my login to wordpress or the ftp to access any files, can you email me at [email protected]
October 11, 2013 at 3:36 pm #70664Barry
MemberCan you share login details by posting them here as a private reply?
October 11, 2013 at 4:35 pm #70687insyte
ParticipantThis reply is private.
October 11, 2013 at 4:46 pm #70689Barry
MemberThe good news is that the map script error is resolved but yes that still leaves the disappearing list view content. Just for completeness – if I am understanding you correctly we know this happens with your theme, but I wonder if anything else might be conflicting in turn with your theme.
Can you keep your theme activated and deactivate all other plugins except those by Modern Tribe and see if that makes any difference? If at all possible, please include deactivation of the maintenance mode plugin in that process.
Thanks!
-
AuthorPosts
- The topic ‘Theme Conflict’ is closed to new replies.
