Forum Replies Created
-
AuthorPosts
-
nysciParticipant
Thanks, 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 TechnysciParticipantOkay, I understand that it’s a customization I’d have to explore on my own; that’s fine. Can you give me some guidance? I’m thinking that it would be helpful to know where the sticky meta information is saved, and which (sorting?) function in the “month view” script is used in order to float those to the top. Then I can leverage that information on the week view page. Also, if there is a filter that can be applied to the events calendar when it’s returning items for the week view, so that I can tell it to sort differently at that moment, let me know. Thanks.
nysciParticipantThe problem appears to be even worse than we’d realized!
It seems to be that when we edit events from the past (even non-reoccurring events) they save as recurring events and they create new reoccurring events of that one event post for months in the past. We just realized that today while we were correcting some old links and adding tags.
Please tell me that a fix is imminent!
nysciParticipantThanks for the info, Andras.
While we are waiting for a fix, can you give me a suggestion of how to mass-discover which events we might have that are affected by this? I can run an SQL search, if you give me an idea of what to look for; that is, what these past events might share in common so that I can identify them. I’d like to fix them individually, but don’t know which events are affected.
nysciParticipantRe-installing fixed it. Thanks!
nysciParticipantThis was very helpful, George. Exactly what I needed to know. Many thanks!
nysciParticipantThis reply is private.
August 16, 2016 at 12:29 pm in reply to: Including "hidden" events when doing a custom query #1152269nysciParticipantThis seems like it should work, but it still doesn’t.
// Show hidden events in lists for choosing grid boxes add_filter('acf/fields/post_object/query/name=event', 'ahs_include_hidden_events', 10, 3); function ahs_include_hidden_events( $args, $field, $post_id ) { $args['meta_query'] = array( array( 'key' => '_EventHideFromUpcoming', 'compare' => 'NOT EXISTS', ), ); return $args; }
I also tried meat_value of ‘yes’ and compare of “NOT LIKE”, but that also didn’t work. (It took some research into the database to find out that it doesn’t save a boolean value; it saves the word “yes”. You might want to make a note of that!)
It’s possible that this has to do with ACF, and not with tribe_events. I’d be grateful for any other ideas you have, though!
nysciParticipantThanks, Brook.
I did a bunch of grepping and couldn’t find any instances of those out-of-date classes. However, I did find the source of the problem! There is a file in the site’s theme folder: tribe-events/list-widget.php. It had the code below. It was probably copied out of the plugin folder itself years ago and just had slight html modifications made. Over time, they became out-dated to the point where they didn’t work at all. Anyway, I’ve removed that file and now the page is no longer broken!
<?php /** * Events Pro List Widget Template * This is the template for the output of the events list widget. * All the items are turned on and off through the widget admin. * There is currently no default styling, which is highly needed. * * Override this template in your own theme by creating a file at [your-theme]/tribe-events/widgets/list-widget.php * * When the template is loaded, the following vars are set: $start, $end, $venue, * $address, $city, $state, $province'], $zip, $country, $phone, $cost * * @package TribeEventsCalendarPro * @since 1.0 * @author Modern Tribe Inc. * */ if ( !defined('ABSPATH') ) { die('-1'); } ?> <?php $widget_args = tribe_events_get_adv_list_widget_args(); extract($widget_args); ?> <li> <div class="duration"> <?php echo tribe_events_event_schedule_details(); ?> </div> <div class="thumbList1"> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail('upcoming-event'); ?></a> </div> <div class="item-info1"> <h3 class="entry-title"> <a class="aa" href="<?php echo tribe_get_event_link(); ?>" rel="bookmark"><?php the_title(); ?></a> </h3> </div> </li> </br>
nysciParticipantJust a question, How do I know whether this merging is complete or not?
Thanks
May 19, 2014 at 9:27 am in reply to: tooltip is not working on new version of event calender plugin #166277nysciParticipantHi,
Please ignore above comment.
I tried your method of renaming the tribe-event folder in theme and it works!!!
Could you please help me out with those custom theme-folder ?
Currently at http://nysci.org/dev/events/ tribe-events folder is renamed.
Thanks
RajulMay 19, 2014 at 8:40 am in reply to: tooltip is not working on new version of event calender plugin #166230nysciParticipantHi,
I have replicated my website at http://nysci.org/dev
So as you said I tried by renaming {theme}/tribe-events to {theme}/tribe-xxx
and tooltips are still not working .
You can see at http://nysci.org/dev/events/ . Here on this page tooltips are not working.Thanks
nysciParticipantCan you please help me out with this problem?
nysciParticipantPlease reply this thread.
nysciParticipantI tried your merge plugin but it stops after 10-15 minutes . What should I do now??
-
AuthorPosts