WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar Category Colors
[resolved] Colours not loading correctly (53 posts)

  1. James Morrison
    Member
    Posted 5 months ago #

    Hi,

    I'd set up the Events Category Colors plugin which was working exactly as expected; different categories had different colours set etc.

    I've updated to The Events Calendar and The Events Calendar Pro and now all the different events (in different categories) are using the same colour (blue).

    Additionally, the previous / next (week) links don't load any colour, but if you refresh the page the same blue colour loads for all posts.

    Am I missing a setting somewhere or could this be a bug?

    You can see an example of this here: http://squeakygatestg.wpengine.com/calendar/

    Thanks in advance for any help!

    James

    https://wordpress.org/plugins/the-events-calendar-category-colors/

  2. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    This is a bug in the week view of ECP. When it gets fixed there will be colors. We have to wait for Modern Tribe for this one. I'll see if I can't figure out a template override to fix it.

  3. mending
    Member
    Posted 5 months ago #

    Thanks! I'm having the exact same problem.

  4. leahkoerper
    Modern Tribe Support Rep
    Posted 5 months ago #

    Andy, to confirm- is this a part of the issues we've been discussing with you and have ticketed? I just want to make sure this is on the radar :)

    Best,
    Leah

  5. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    Hey Leah, thanks for chiming in. Yes, this is one of the issues where the week view doesn't correctly include the category class tag.

    Thanks for keeping tabs on us. :)

  6. leahkoerper
    Modern Tribe Support Rep
    Posted 5 months ago #

    Great, thank you Andy!

    mending, we are actively working on getting this fixed :) Thanks for your patience!

  7. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    Leah, let me know if there's anything I can do to help.

  8. mending
    Member
    Posted 5 months ago #

    Thanks :-) Looking forward to it.

  9. James Morrison
    Member
    Posted 5 months ago #

    Hi Andy, Leah,

    Thanks for the update on this, and confirmation that I'm not going mad trying to work out what's gone wrong.

    Is there anything short-term I can do to get this working whilst an update is being worked on?

    Thanks,

    James

  10. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    James,

    I'll see about pushing out an update that reverts to the default behavior for ECP. Be aware the default behavior is that blue background and white text.

    If I have time I'll see if I can create a template override for it but that will take more effort on your part to implement.

    Andy

  11. James Morrison
    Member
    Posted 5 months ago #

    Hi Andy,

    Thanks for getting back to me; whilst I really appreciate what you're proposing, it seems a lot of work for little gain.

    The entries are already showing up as the default colours; I can change the CSS to force the background / text colour for the next / previous links where the colours break at the moment.

    Thanks,

    James

  12. James Morrison
    Member
    Posted 5 months ago #

    ** Duplicate, please ignore **

  13. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    James,

    v3.4.4 should make no changes to the week view.

    As for the Previous and Next Week links, nothing in this plugin should effect them.

  14. mending
    Member
    Posted 5 months ago #

    Colors are no working on the "Orgaziner" nor the "Venue" page either. They are not showing at all as they are on the List view.

  15. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    The plugin isn't designed to show on Organizer and Venue pages. I'll take that as a feature request.

  16. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    mending, can you provide a URL?

  17. mending
    Member
    Posted 5 months ago #

    @Andy I can provide a link in a Private Message as this is confidential work. How can I contact you?

  18. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    mending, I don't need a URL. I can replicate this and have already figured out a solution. I just need some time to code and push it. Expect a new version over the weekend that should solve this issue.

  19. mending
    Member
    Posted 5 months ago #

    Great! Thanks a lot Andy :-) I'll be happy to test it.

    Any ETA on when Modern Tribe get the ECP week view problem solved?

  20. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    No sorry, but it is on their radar. Until then week view will act in the default behavior.

  21. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    mending, v3.4.5 should have fix for colorizing Organizer and Venue views.

    Please let me know if it works on your end. Thanks.

  22. mending
    Member
    Posted 5 months ago #

    Hi Andy, thanks! :-) It does look a little strange with the "Cost" amount to the right and the fact that the coloring isn't floating 100% width. Screendump.

  23. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    The color doesn't extend 100% because it doesn't look good on Photo view. You're best bet here is to add a little styling to the cost button.

    I'm glad everything else seems to be working.

  24. mending
    Member
    Posted 5 months ago #

    Right, but the Map view doesn't look anything like the List, Venue and Organizer look. Is that by intention? Also shouldn't an event viewed on the Single Event page somehow be colored as well?

    https://www.dropbox.com/s/9b50wj3pc99bzad/Screenshot%202014-03-16%2016.30.18.png
    https://www.dropbox.com/s/r6xxez48hpu114w/Screenshot%202014-03-16%2016.33.01.png

  25. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    The single event view doesn't contain the category class tag so no coloring. :(

    I didn't notice the Map view wasn't filling across, thanks for making me aware. I'll get that fixed. You might end up with a similar issue with the cost though.

  26. mending
    Member
    Posted 5 months ago #

    Thanks! We should have Modern Tribe adding a category class on the Single Event View then. As well as ask them to move the cost (floating out of sight to the right) inline as on the Event view here... Would look a lot better?

    @leahkoerper you agree?

  27. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    @mending, I'm about to push a new update that fixes some of the CSS and moves the cost button down to a better position.

    The problem with putting this cost button CSS in the plugin is that it will be difficult to override without doing something like !important.

    Here's what it looks like, http://pbrd.co/1kz0bMu

    Do you think it's worthwhile to add or should I let the user figure it out?

  28. mending
    Member
    Posted 5 months ago #

    I think that is just beautiful and most user will appreciate this as well as knowing that "!important" is one of the first CSS tricks in the book to learn :-)

    Push it! You got my full support.

  29. Andy Fragen
    Member
    Plugin Author

    Posted 5 months ago #

    Pushed. Let me know if you like it.

  30. mending
    Member
    Posted 5 months ago #

    Looking better - though we would love if things would align to the right - both coloring and cost with an equal right handside margin:

    https://www.dropbox.com/s/sav8xnvihl8jv7s/Screenshot%202014-03-16%2020.33.15.png

Reply »

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.