-
AuthorSearch Results
-
January 26, 2015 at 7:06 pm #937885
In reply to: Custom Single Evenst Page
joecalibre
ParticipantHi. Yes, in Events > Settings > Display Tab, we do have the Skeleton Stylesheet selected.
It sounds like the plan to dequeue the css scripts is the right way to play it. As far as I can tell, stylesheets are registered and enqueued in plugins/the-events-calendar/lib/tribe-template-factory.class.php.
So my process would be, in my theme folder, I have a generic functions.php file, I could dequeue the extra css scripts there with something like the following code:
// DO NOT ADD SCRIPTS FOR SINGLE EVENT PAGES
add_action(‘wp_print_scripts’,’dequeue_scripts’);
function dequeue_scripts() {
wp_dequeue_script( ‘script_handler_1’ ); // use handler name
wp_dequeue_script( ‘script_handler_2’ );
}But that leaves me with 2 challenges, still.
1. I don’t know the names of the css stylesheet handlers. Although I suppose I can find most of them in the class.php file that I indicated.
2. I suppose we want to use the stylesheets for OTHER event pages; so how do I dequeue these scripts ONLY for Single Events? I don’t quite know how to sort out that logic?Thanks again for your attention and insight.
January 26, 2015 at 1:04 pm #937780In reply to: Custom Single Evenst Page
Brian
MemberHi,
I can help you out here, but unable to provide much support for older versions.
Have you tried changed to the Skeleton Stylesheet?
Go to your site’s admin then:
Events > Settings > Display Tab
Change this setting “Default stylesheet used for events templates” to Skeleton Stylesheet to remove most of the styling from the plugin.
If you have want to remove styling on the single events then you could use WordPress’s wp_dequeue_style to remove the stylesheets on singular tribe_events
http://codex.wordpress.org/Function_Reference/wp_dequeue_style
Let me know if you have any follow up questions.
Thanks
January 26, 2015 at 7:53 am #937611Geoff
MemberHi there, Pablo! Thanks for getting in touch and sorry you’re hitting a conflict here.
I see the following error pop on in the console when I view your site:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.That is likely because either your theme or one of the other installed plugins is injecting a Google Maps script in addition to the one that The Events Calendar includes. You will want to find out what is injecting that other script, then dequeue it from Events pages so the conflict goes away.
You can test for what is injecting the additional instance of Google Maps by following the steps listed here in our Testing for Conflicts Guide.
Cheers!
GeoffJanuary 20, 2015 at 3:32 pm #935417In reply to: Can i move events page into homepage
Geoff
MemberHi there, Steve! Thanks for getting in touch.
We’re fairly limited in how much we can support custom development questions like this one, but I’m happy to point you in the right direction, if I can. 🙂
Currently, there is no setting or easy way to make the calendar your site’s homepage or to embed it in the homepage. There is a third-party plugin called Event Rocket (not supported by us), that gives you some shortcode options to do just that, but that functionality isn’t currently supported by our plugin right out of the box.
I think the reason you’re getting the spinner is that the calendar scripts are not included on your page. You’ll want to use the default WordPress enqueue_script() function to add those in when the homepage is loaded. Here’s a nice list of available scripts. I’m not sure if this is all of them, but it is pretty comprehensive. Also, here’s an example snippet that you can use to get your self started.
Sorry I don’t have more of a concrete solution for you, but I hope these options help steer you in the right direction. 🙂
Cheers!
GeoffJanuary 5, 2015 at 1:10 pm #928967In reply to: Safari Formatting Issues – Maps
George
ParticipantHey Noah,
Awesome domain name. In regards to your issue with the links not wrapping in Safari, I was able to force wrapping with the following bit of custom CSS:
dd.tribe-events-event-url { word-wrap: break-word; } dd.tribe-events-event-url a { width: 100%; }I tested that out in Safari on your site and it worked well for me. Let me know if you’re able to configure custom CSS like this on your site – if you need some guidance on that, the “Custom Styles” section of our official Themer’s Guide is pretty helpful! Check that out here.
As for dequeueing maps in the theme, can you specify exactly what you’re trying to do here? Do you mean making sure that maps-specific CSS and JavaScript files are only loaded on events pages with Maps? Just want to be 100% certain about what you’re trying to do.
— George
-
This reply was modified 11 years, 4 months ago by
George.
December 31, 2014 at 8:50 am #927187In reply to: Responsive Mobile Calendar Doesn't Work
Brook
ParticipantHello again,
I am sad to hear you do not think the theme developer will help. If there is anything we can do to help them we would be glad to. We frequently work with theme devs to help keep them updated whenever possible.
I would ask what you think might be the best alternative plugin out there.
I honestly do not know. The plugin I hear mentioned the most often is Timely, for what that’s worth. But, frequently those mentions are folks asking how to import their events from it. So my familiarity with that plugin has mostly been exporting. From what I have seen the dev is a very hard worker.
Since our goal is to build the best plugin we can, not really to directly compete with anyone, I am less familiar with our competition than you might expect.
I would also like to know how I will be able to get a refund, assuming that I am never able to get the calendar to work.
Absolutely. We have a 30 day refund policy. Email pro @ tri.be to get one should you require it.
Finally, do you think having a separate wordpress install in a sub folder, running a compatible theme (solely devoted to the event calendar) is a reasonable workaround?
That would work. You could also create a custom page template and select it in WP Admin > Events > Settings > Display. Then you would just be one site/theme. Inside of that template you could dequeue as many of your theme scripts as you can. Particularly any bootstrap or datepicker ones. I bet that would restore working order.
You are very welcome Vincent. If I can be of further assistance please let me know. Once you feel this topic is resolved, please mark it that way so I will know. But, it’s no problem if you prefer to keep open for a bit until you choose a solution.
Cheers!
– Brook
December 29, 2014 at 5:01 pm #926500Barry
MemberThanks!
So the problem seems to stem from rttheme17-new/js/jquery.prettyPhoto.js (a jQuery plugin): blocking this script resolves the problem. I’m not entirely sure why this is misbehaving and as the source is minified it’s not too easy to read through it.
What I can see is that it uses jquery.hide() in a few places to hide various elements, so one theory/wild guess is that it is finding the featured images within the calendar table and is trying to apply its particular magic to them, but its targeting isn’t specific enough and it ends up hiding the entire table by accident.
If you don’t need this plugin perhaps there is some straightforward means of disabling it? Or else you could dequeue it with a short code snippet. Regardless, for further help on this one I’d recommend reaching out to the theme author as they will be best placed to guide you and help you troubleshoot further.
December 15, 2014 at 9:10 am #918776In reply to: Individual maps not displaying on events
maximumedia
ParticipantI have no new insight. I have tried to add additional lines to dequeue the maps function, removed the stats script, jquery, etc. All of the other maps I have work with my theme. So, I will accept a refund if your team is unwilling to help me with actually getting this plugin to work. It is a shame.
December 10, 2014 at 5:23 pm #914792In reply to: Individual maps not displaying on events
Geoff
MemberHi there, Noah! Thanks again for following up and hanging in here with us. I realize it’s probably frustrating to have some back and forth, but I hope we can keep shedding some light on this to keep it moving in the right direction for you.
The update from 3.8 to 3.8.1 was a very minor maintenance release. You can see the the release notes here. Note there was a minor update to maps, but it was related to the custom size variables of the embedded map rather than the method for calling the API.
Still, I wonder if it’s possible that you updated one calendar plugin but not the other. Are you running version 3.8.1 for both The Events Calendar and The Events Calendar PRO? The version numbers should be in sync and can cause conflicts if different versions are running together.
Also, we have released a new version (3.9) as of yesterday. Are you able to update to the latest version of both plugins to see if that has any effect?
Another option is to revert both plugins back to 3.8. Does the issue still pop up there?
If you still prefer to dequeue the calendar’s scripts, you are totally welcome to do that. You can use the snippet I sent previously and modify it to include the proper script. Here is a list of all available scripts that the plugin enqueues. I will note, however, that removing the calendar’s scripts will affect the functionality of the maps and likely remove it altogether. You could get the same result by disabling the map feature under Events > Settings > General in the Map Settings section.
I hope one of these options works for you! I do want to continue to insist that the proper solution for this is to solve it at the theme level since the theme is serving the Google Maps API where it technically should not. Contacting the theme author for guidance is the best bet at that level.
Thanks again for hanging in here with us and for your patience and cooperation this far. 🙂
Cheers!
GeoffDecember 9, 2014 at 12:24 pm #913350In reply to: Individual maps not displaying on events
Geoff
MemberHey there, Noah! You’ll want to talk with your theme author for a snippet that dequeues other instances of Google Maps at the theme level. Trying to disable them at the plugin level will have performance impacts at the plugin level that will complicate the issue further, such as making the event maps feature not work at all.
You can disable Google Maps feature from events, if you prefer that route. Head over to Events > Settings > General and uncheck the option to “Enable Google Maps” under the Map Settings section. That will remove the feature altogether from the calendar.
I hope this helps!
Geoff
December 9, 2014 at 8:56 am #913079In reply to: Individual maps not displaying on events
Geoff
MemberHi there, Noah! Nice to see you again and hope you’re doing well. 🙂
First off, thanks so much for taking the time to test for conflicts–I really appreciate that and it helps so much.
It looks like the Google Maps API is being loaded twice on your event pages, which is causing the conflict. Since the issue goes away when the theme is deactivated, the theme is likely adding it it in there. The trick is trying to disable the theme from serving the API.
Does you theme have an option to disable Google Maps in its settings? That would be the first thing I would check. Why dig into the code if you don’t have to, right? 🙂
If not, it may be easier to contact your theme author and ask how the theme’s Google Maps integration can be disabled. Likely, it will require using the WordPress dequeue_script() function.
Sorry you’re bumping into this problem, but hopefully this helps shed some light on what’s happening.
Cheers!
GeoffDecember 3, 2014 at 7:56 pm #907118Brian
MemberHi,
I can try to help you out here. However, there is not feature to change the columns on Photo View.
The layout is created using the Isotope Script.
Then we run a script to initialize Isotope on that page.
/events-calendar-pro/resources/tribe-events-photo-view.min.js
Non-minified Version:
/events-calendar-pro/resources/tribe-events-photo-view.js
So to change the formatting you can wp_dequeue_script the first script and then replace it with your own.
Unfortunately, that is the only way to get this done right now and it is beyond the support we can provide to do this customization. I can try to help out a little more with questions.
Thanks
November 26, 2014 at 12:05 pm #899559Geoff
MemberHi there Gavin! Thanks for following up. Great job working on this so far–I really appreciate you sticking with me here. 🙂
I think we’re onto something with the conflict of using two APIs on the page.
One method to avoid having to deactivate it would be to dequeue its scripts from all event pages. You may need to contact the plugin author for specific guidance here, but you can find more information on the wp_dequeue_script() function in the WordPress Codex.
If this doesn’t do the trick, I’d like to try some deeper troubleshooting with a default theme and no other plugins installed. We’ll cross that bridge and I’ll walk you through those steps if we need to. 🙂
Cheers!
GeoffNovember 18, 2014 at 10:43 am #889420In reply to: Cannot dequeue styles
Casey
Participantstratejusinc,
Unfortunately not. You’ll definitely want to utilize all of the conditional functions to make sure that you’re not dequeueing the CSS on pages that need it (Event Views, Organizer archives, Venue archives, etc). Take a look at our documentation and look for the ‘tribe_is_*’ functions (ex: tribe_is_upcoming).Glad that did the trick for you, and let me know if you need further help. Thanks! 🙂
-Casey-
November 17, 2014 at 10:22 pm #888741Brook
ParticipantHowdy Todd!
Looking at your site my browser is seeing the following JS error:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
This is probably a good place to start. I bet you your theme is including Google Maps, and so is the Calendar. That’s no good! probably stepping over each other in other areas too, but to start you might try dequeueing the following script: tribe_events_google_maps_api . If that does not work, or you need more help, please open up a new topic if you don’t mind. We strive to keep every topic focused on one users issue, the original poster. That way everyone gets our full attention. If you do end up needing to open a new topic you too might be asked to do a conflict test, which is where I would head next if dequeueing does not work. Thanks for posting sir!
Since it has been a couple weeks Ryan I am going to archive this topic. If you are still experiencing your issue though, please don’t hesitate to contact us. Feel free to open a new topic. Cheers!
– Brook
-
This reply was modified 11 years, 4 months ago by
-
AuthorSearch Results
