-
AuthorSearch Results
-
November 6, 2017 at 9:27 am #1376263
In reply to: Use full styles only for month view
nysci
ParticipantThanks, Patricia. Your reply wasn’t helpful. However, I did solve it myself. What was missing were the special mobile stylesheets. Also, the skeleton styles were adding some unhelpful css, and needed to be dequeued.
In case it will help someone else, I’ll post my final code. This is what you want to use if you do not want TEC styles applied to single event pages, but do want them applied to month/week/day pages. In my settings, I chose “skeleton.” Then I added this to functions.php in my theme:
add_action('wp_enqueue_scripts', 'mycustom_enqueue', 99); function mycustom_enqueue() { if (!is_admin()) { if (tribe_is_month() || tribe_is_week() || tribe_is_day()) { wp_dequeue_style('tribe-events-calendar-style'); // remove skeleton css wp_dequeue_style('tribe-events-calendar-pro-style'); // remove other skeleton css wp_enqueue_style('tribe-events-full-calendar-style', WP_PLUGIN_URL.'/the-events-calendar/src/resources/css/tribe-events-full.min.css'); wp_enqueue_style('tribe-events-theme', WP_PLUGIN_URL.'/the-events-calendar/src/resources/css/tribe-events-theme.min.css'); wp_enqueue_style('tribe-events-calendar-full-mobile-style', WP_PLUGIN_URL.'/the-events-calendar/src/resources/css/tribe-events-full-mobile.min.css'); wp_enqueue_style('tribe-events-calendar-mobile-style', WP_PLUGIN_URL.'/the-events-calendar/src/resources/css/tribe-events-theme-mobile.min.css'); } } }Aaron Hodge Silver
Springthistle TechNovember 5, 2017 at 8:30 pm #1375737In reply to: RSVP Fields not appearing
Geoff B.
MemberGood evening Ben,
Thank you for the files.
I was able to establish that there seems to be a conflict with the Superfish JS package that comes with the Salient theme.
You can test that by removing line 38 of the functions.php file of your theme.
I would recommend reaching out to the good folks behind Salient to see what they would advise.
Ideally, if there was a way to dequeue Superfish in Tribe related pages, that could work.
Either that or consider upgrading the version of that script (which looks like it’s 4 years old).Let me know how that goes.
Best regards,
Geoff B.October 25, 2017 at 4:19 am #1368545In reply to: Prevent Event Tickets+ JS and CSS from loading
Jaime Marchwinski
KeymasterHi Nicholas,
Thanks so much for reaching out again!
You can try this extension, where you can select the which CSS Styles and Javascript Files to dequeue:
https://theeventscalendar.com/extensions/dequeue-assets/
Let me know how it goes!
Thanks,
Jaime
October 16, 2017 at 5:55 am #1364085In reply to: Full size slider – isotope issue
Jaime Marchwinski
KeymasterHi Uwe,
Thanks so much for providing us with all of that information. Before moving forward, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
It sounds like you have isolated the issue to a conflict between your theme and our plugins. However have you tried switching to a default theme and seeing if the errors still occur? I just want to confirm that this is the issue.
In the meantime, you can take a look at some of the settings you have in Avada and seeing if adjusting them helps: https://theme-fusion.com/avada-doc/special-features/css-compiler/
And you can try this extension, which can dequeue some of the CSS Styles and Javascript Files that may be causing a conflict: https://theeventscalendar.com/extensions/dequeue-assets/
Let me know how it goes!
Thanks,
Jaime
October 4, 2017 at 1:16 pm #1359187Victor
MemberHi Joanna!
I’m sorry you are experiencing that issue. Let me help you with it.
The following is a code snippet that will prevent the select2.js file to be loaded in the frontend:
/** * An example for how to dequeue a script * * Obtain the handle of your script by searching through the code, and then * add a wp_deregister_script() function call for that handle. */ function tribe_dequeue_script_example() { wp_deregister_script( 'tribe-select2' ); } add_action( 'wp_enqueue_scripts', 'tribe_dequeue_script_example', 100 );Bear in mind you would have to use checkboxes or dropdowns for all the fields. It will break autocomplete and the active filter coding, which in turn could break how the Filter Bar works.
On the other side, while we don’t suggest to do it, you can downgrade to The Events Calendar version 4.4.3 which uses Chosen instead of Select2.
I hope it helps you achieve what you are looking for. Let me know if there’s anything else I can help you with.
Best,
VictorOctober 2, 2017 at 8:31 am #1357766In reply to: Shortening the popup tool tip copy in month view
Victor
MemberHi Nancy!
Glad to know the excerpt article is of help.
I’m sorry you have experienced such a hard time customizing the syles. Let me try to help you with that.
First, please let me note that we are fairly limited in how much support we can give for custom development questions like these. That said, we always like helping out and at least point users into the right direction as much possible.
How do I get the “raised panels” to extend the full width of the 2/3 column
This is something that really depends on your theme. I managed to extend the width of the events container so that it fits better with the following CSS snippet, but might need extra adjustement:
.tribe-mini-calendar-event { width: 100% !important; }As for the text to wrap around the image you can try the following CSS:
.tribe-mini-calendar-event .tribe-event-image { float: left; } .tribe-mini-calendar-event .list-info { width: 80% !important; }You can customize the featured highlight color using the WordPress customizer by going to your wp-admin > Appearance > Customizer > The Events Calendar > General Theme. But, if you want to set it transparent, you’ll have to use the following CSS snippet:
#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured {
background-color: transparent !important;
}For further customizations, let me point you to a couple of articles that will point you to how you can further customize the look and feel of the templates:
- Themer’s Guide > https://theeventscalendar.com/knowledgebase/themers-guide/
- Stylesheets and Page templates > https://theeventscalendar.com/knowledgebase/stylesheets-and-page-templates/
- Dequeue CSS Styles and JavaScript Files extension > https://theeventscalendar.com/extensions/dequeue-assets/
I hope that helps! Let me know how it goes.
Best,
VictorSeptember 27, 2017 at 10:18 pm #1355937In reply to: Month's view not showing events
Geoff B.
MemberGood evening Robert and welcome to the Events Calendar Support forum!
Thank you for reaching out to us.
We are sorry to hear about the monthly view no longer working on your site.
I would love to help you with this topic.By the looks of it, there is a Javascript error being generated on https://www.myfathersmustache.com/events-charleston/. You can see that in the Google Developer tools console.
More specifically, the error comes from https://www.myfathersmustache.com/wp-content/themes/mfm/js/sticky.js?ver=4.8.2
One solution could be to dequeue that specific script from the post-type-archive-tribe_events pages: https://gist.github.com/elimn/e302522579650914e03048ebed146854 or to dequeue that script altogether.
But before you do any of that, it looks like you are not using the latest version of our plugins. I would recommend updating both the Events Calendar and the Events Calendar Pro to the latest version in case that helps.
Let me know how that goes.
Best regards,
Geoff B.September 20, 2017 at 8:34 am #1351924In reply to: Style the maps
Patricia
MemberHey Dinah,
Thank you for reaching out to us!
To achieve what you want you need to dequeue pro/src/resources/js/tribe-events-ajax-maps.min.js and then enqueue your own script instead.
I would suggest you to check this post for further information on how to dequeue Events Calendar scripts.
I’ve implemented a simple example to help you get started with this customization: please note that this method is not ideal, since you will loose your changes with the plugin updates:
1- First, create a backup copy of:
events-calendar-pro/src/resources/js/tribe-events-ajax-maps.min.js
2- After that, open tribe-events-ajax-maps.min.js and replace the minified code with:
https://gist.github.com/nefeline/bf22f7fbb45c87d743c7b60912bc18f4
3- In this example I implemented my own style (from this example) on line 122 and this is the result you will see in your main Map view calendar.
I hope this helps you get started! Let me know if you need anything else and I’ll be happy to assist!
Best regards,
Patricia
September 14, 2017 at 6:23 am #1349137In reply to: Extending tribe-events-week.js?
Andras
KeymasterHey Brian,
This snippet should do that:
/**
* An example for how to dequeue a script
*
* Obtain the handle of your script by searching through the code, and then
* add a wp_deregister_script() function call for that handle.
*/
function tribe_dequeue_script_example() {
wp_deregister_script( 'tribe-events-jquery-resize' );
}
add_action( 'wp_enqueue_scripts', 'tribe_dequeue_script_example', PHP_INT_MAX );
add_action( 'admin_enqueue_scripts', 'tribe_dequeue_script_example', PHP_INT_MAX );Just change the function call.
Let me know if that helps.
Cheers,
AndrasSeptember 13, 2017 at 9:24 am #1348639In reply to: Extending tribe-events-week.js?
Brian Walters
ParticipantThanks Andras. I thought that might be the only option. Could you suggest the best way to “dequeue” that JS file? Editing the JS file is the easier part, IMHO. 🙂
September 4, 2017 at 2:45 pm #1344602In reply to: Changing from 3 columns to 4 columns in photo view
Patricia
MemberHey Dylan,
Thank you for reaching out to us! At this moment there is no feature to change the number of columns in Photo View.
If this is something you want to see implemented in future releases, I would recommend casting a vote in our Feature Ideas here:
To help you get started, the layout is created using the Isotope Script, then we run a script to initialize Isotope on that page:
events-calendar-pro/src/resources/js/tribe-events-photo-view.min.js
Non-minified Version:
events-calendar-pro/src/resources/js/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, but I can assist if you have further questions in the mean time.
Regards,
Patricia
August 23, 2017 at 9:27 pm #1339510In reply to: User cannot see event details unless logged in
Shelby
ParticipantHey Justin,
Thanks for providing that additional detail! 🙂
So, officially, we don’t support theme conflicts, but here’s what I would suggest:
- Reach out to their theme support, especially if they bundled or advertised compatibility with our plugins. 🙂
- We have this free extension that has the ability to dequeue CSS and scripts, which might help resolve the conflict if you can dequeue the javascript that you are experiencing a conflict with. Anything that can’t be dequeue’d with this extension, is essential, and will need to be resolved by the theme developer.
Let me know if there’s anything else I can do to help you out here!
Best,
Shelby 🙂
July 20, 2017 at 12:10 am #1323708In reply to: Cant use existing organizers
Doron
ParticipantHey
Updated to the latest version issue persistsknow you are already underway to getting the WPML configuration just right.
this was because of a different issue that is not relevant to this one.
I was able to test your theme and it worked properly
The issue occurs while setting Hebrew to the default language of the site – did you do the same? If it’s not the theme then what? we spent 178$ on a set of plugins that don’t work.
It is usually better not to have competing versions of the same script on a web page. In an ideal world, you would dequeue the theme’s select2 script at least on the Community Events page.
I’ve deregistered the script
function tribe_dequeue_script_example() { wp_deregister_script( 'armonioso-select2' ); } add_action( 'wp_enqueue_scripts', 'tribe_dequeue_script_example', PHP_INT_MAX );Only the /events/community/add/ script loads – still the issue persists
Also cleared al WPML cache.
How can we proceed on this so that the plugin will work?
Thanks
Doron
July 18, 2017 at 7:06 am #1322601Shelby
ParticipantHey Michael,
I’m happy to help out. 🙂
We don’t officially support theme conflicts, but I think that dequeueing some of the javascript files may help. We have a free extension to dequeue some of our scripts that you can try here. You also may be able to change some of the compiling settings within Avada, and you can reference their documentation on that here.
Unfortunately since we don’t officially support theme conflicts, this will be a bit of a trial and error process to test this solution, but let me know how it goes!
Best,
Shelby 🙂
June 29, 2017 at 3:30 pm #1312876In reply to: Dequeue CSS Styles and JavaScript Files Extension
Nico
MemberHey David,
Thanks for the patience here! A new version of the extension is available addressing this issue → https://theeventscalendar.com/extensions/dequeue-assets/
Want to delete the current installed one and test the new version?
Please let me know how it goes,
Best,
Nico -
AuthorSearch Results
