Incorrect category added to calendar view items

Home Forums Calendar Products Events Calendar PRO Incorrect category added to calendar view items

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #100510
    Pragmatic
    Participant

    Hi,

    The category is added to the individual events as part of the class, for example Music Theory (with a slug of ‘music-threory’) is added like this:

    <div id="tribe-events-event-132" data-duration="180" data-hour="11" data-min="00" class="hentry vevent type-tribe_events post-0 tribe-clearfix tribe-events-category-music-theory tribe-dayspan1 tribe-event-overlap ">

    We’re using the “The Events Calendar Category Colors” plugin to give each category a unique colour.

    There are 2 issues:

    1.) The same category (Music Theory) is being added to all events (even those without this category added) therefore all events show up the same colour

    2.) On clicking the “Next Week” or “Previous Week” links the page does an AJAX style loading of the new page and on this page it strips out the category name i.e. the class changes from “tribe-events-category-music-theory” to “tribe-events-category-”

    This seems to be a bug that was introduced very recently, I’m not entirely sure which version was the last that worked correctly.

    We’re using the most up-to-date versions of the plugins as of 4th February, 2014 – TEC is version 3.4.1 / TECP is version 3.4

    Can you help?

    Thanks,

    James

    #101076
    Neill
    Member

    Hi James,

    Thanks for your note – sorry you are having a couple of issues – could you tell me where you are adding that class? Maybe give us a gist of the whole file for context?

    Also for your second issue – does switching off the calendar plugin fix that issue? I know you mentioned that you have tried switching all the plugins off, but I just want to make sure you have tried that one also?

    I may get you to split these issues out so that we can work on them from different threads and give them the attention they need, but get back to me with the info above first and we’ll see where we are.

    Thanks

    Neill

    #102720
    Neill
    Member

    Hi James – just wanted to check here and see if you are all set – or you’d still like us to help out.

    Neill

    #118361
    Neill
    Member

    Hi James

    I’m going to close this ticket out for now – if you are still having an issue later on down the road feel free to start a new thread and we’ll be happy to help out.

    Neill

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Incorrect category added to calendar view items’ is closed to new replies.