• Resolved kpernici

    (@kpernici)


    Hello Andy and Barry:

    I’m hoping you can guide me in the right direction. I’ve recently been asked to assist on a Web project for a site I did not create from scratch and where there have been many different people involved so far.

    We have a site on WordPress 3.8.1 running Swagger theme. We have the following plugins installed:

    The Events Calendar – Version 3.4.1
    The Events Calendar PRO – Version 2.0.11(although we currently have a message at the top of our dashboard reading “The following plugins are out of date: Events Calendar PRO 2.0.11. All add-ons contain dependencies on The Events Calendar and will not function properly unless paired with the right version. Want to pair an older version?)

    Anyway…last night, I downloaded and installed The Events Calendar Category Colors version 3.4.2. I followed your installation instructions and added the following code to our functions.php file:

    if( class_exists( ‘Tribe_Events_Category_Colors’ )) {

    teccc_reposition_legend( ‘tribe_events_before_footer’ );
    teccc_add_text_color( ‘Red’, ‘#f00’ );
    teccc_add_legend_view( ‘upcoming’ );

    }

    I clicked the Colors tab and set up the colors for my categories, but when I hit SAVE, nothing immediately happened. I wanted the legend to display at the top of the calendar, so I went into the fuctions.php file and removed the line about repositioning the legend and voila – the shaded colored boxes appeared on my calendar. I noticed that the red and orange colors I had chosen were a little too close, so I went back into the Colors tab to edit, and this time when I hit SAVE, the colors went away and also removed several event items from my calendar (which had been recurring calendar events) – but only for 2 weeks. Very bizarre. I never physically went in and edited the actual calendar event entries – but had to do so to manually restore the missing events after this happened. Has your plugin displayed a bug like this before?

    I have temporarily deactivated the plugin until I can do more research. For the brief 2 seconds it was working, it looked fantastic and seemed to accomplish everything we’re looking to do. Could it be the location of how I put the code into the functions.php file? (in this order … )

    <?php
    /*———————————————————————————–*/
    /* Run Theme Blvd Framework
    /*
    /* Below is the file needed to load the parent theme and theme framework.
    /* It’s included with require_once().
    /*
    /* If you’re creating a child theme, this line needs to be at the top of your
    /* child theme’s functions.php. By doing this you’re overriding the file being
    /* included here.
    /*———————————————————————————–*/

    require_once ( get_template_directory() . ‘/framework/themeblvd.php’ );
    if( class_exists( ‘Tribe_Events_Category_Colors’ )) {

    teccc_reposition_legend( ‘tribe_events_before_footer’ );
    teccc_add_text_color( ‘Red’, ‘#f00’ );
    teccc_add_legend_view( ‘upcoming’ );

    }

    Do I have to go into any other stylesheets (CSS) to override anything?

    I’m also seeing the following in our “Themes” view: “Broken Themes – the following themes are installed but incomplete. Themes must have a stylesheet and a template. Name (Twenty Eleven for LI – Description: The parent theme is missing. Please install the “twentyeleven” parent theme) Do you think this problem could be theme related?

    Any help you might be able to provide, including whether or not the Events Calendar PRO plugin actually has color functionality built in – would be most appreciated.

    Thank you for your time. It looks like a powerful plugin – I just want to get it to work!

    https://www.ads-software.com/plugins/the-events-calendar-category-colors/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andy Fragen

    (@afragen)

    First, I don’t think ECP 2.0.11 will work with the current version of TEC. In fact, it may cause issues. You’ll have to ask elsewhere to find out of sure.

    The theme warning you’re getting is because you have a child theme for Twenty Eleven and you don’t have the Twenty Eleven theme installed.

    As far as I can see the additional setting code is proper and should be installed in your current theme’s functions.php file.

    Legend location above the grid is the default. The code you have will put it at the bottom.

    There is no inherent category coloring in either TEC or ECP.

    Can you provide a URL?

    Thread Starter kpernici

    (@kpernici)

    Thanks Andy.

    We are about to upgrade to the latest version of ECP, so I hope this will fix the situation and allow us to run The Events Calendar Category Colors plugin.

    Do most folks who use it also have TEC and ECP installed and activated (running on the most current versions)?

    Plugin Author Andy Fragen

    (@afragen)

    Everyone should be running the latest version of TEC. I’m not sure how mixing version of TEC and ECP work out but it’s likely to cause issues.

    You if you disable ECP you can see how the Category Colors plugin will function. It works with or without ECP.

    You’d have to get the data regarding what versions of TEC and ECP that are currently in use from Modern Tribe. ??

    Thread Starter kpernici

    (@kpernici)

    OK. Thanks very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help’ is closed to new replies.