• Resolved suzgala

    (@suzgala)


    We love your color code solution for the Events calendar. However, we find ourselves with ONE thing we cannot accomplish with your solution.

    We are wondering if you offer premium customization support services (as in not for free … lol!) that we can use to accomplish what we are looking for.

    When you go into the responsive view for mobile, the calendar grid losses the colors for the events and all the days in the calendar look the same (with a “dot”). You get the color coded events BELOW the smaller calendar, but loose the colored events inside.

    Is there anyway to display the category color even in the smaller responsive sized calendar? How much would such customization cost? How quickly could you turn it around?

    Thanks so much for your time. If you prefer to talk offline, you can email me at smagala@ripleys.com

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

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

    (@afragen)

    Regrettably, this would be very difficult. Mostly because the category class tags are not included in the element that needs to be styled. In order to do this I would have to recode some of the responsive code to include the class.

    It’s possible, just not easy and there might not be an easy way to prevent it from being overwritten in a future update.

    All that being said, if there are 2 or more events in a day, what color is chosen?

    If you just want colors for days that have events in the responsive view I think that would be a relatively easy CSS addition, but it would all be the same color.

    Plugin Author Andy Fragen

    (@afragen)

    If you’re just looking to have some more distinctive way to show days with events in the responsive view then the following CSS should make the dots a different color.

    td.tribe-events-has-events.mobile-trigger::after { background-color: green; }

    Obviously you can make the color whatever suits your theme best.

    As flattering as a paid software gig is, the avatar is my day job and I’m sure my hourly rate is way too high. 😉

    If you’re still interested in your original solution I may be able to point you to someone who can help. Let me know.

    Plugin Author Andy Fragen

    (@afragen)

    If you add a media query for the device width you could change the whole square color with

    @media only screen and (max-width: 760px) {
        td.tribe-events-has-events.mobile-trigger { background-color: green; }
    }

    You might need to play with the width a bit.

    Thread Starter suzgala

    (@suzgala)

    Hi. Thanks for the quick reply.

    We intend to use this as an hour of operations calendar rather than an events solution. We run a busy attraction which often has last minute buyouts, so we need a flexible solution that can let us quickly update hours. A single color for all events, or hard coding colors won’t work.

    We want an at a glance color coded calendar that displays our hours. The hours blocks are our categories.

    My company has been looking at many solutions, and this one is the closest one we have found, minus the loss of color when minimized.

    We are very much interested in hiring someone to custom develop this piece. We would love to talk offline to give you more detail as to what we are looking for and to discuss a quote.

    Here is a link to what we have done so far so you can get a better idea of what we are trying to accomplish. https://www.ripleyaquariums.com/canada/calendar/2014-08/

    Thanks again for your time. I look forward to hearing from you.

    -Suzanne

    Plugin Author Andy Fragen

    (@afragen)

    Suzanne,

    You can remove the responsiveness all together by adding the following to your theme’s functions.php file

    add_filter( 'tribe_events_kill_responsive', '__return_true');

    Andy

    Thread Starter suzgala

    (@suzgala)

    I don’t believe that will work. We want the solution to be responsive. Our website is responsive and the majority of our traffic is coming in from mobile.

    Thread Starter suzgala

    (@suzgala)

    Hello, so just tested your suggestion and I think we can make it work! With a little extra styling we should be able to get it to where we need it to be.

    Thanks so much for your input. Very helpful.

    Plugin Author Andy Fragen

    (@afragen)

    Suzanne, if there’s something else I can do please let me know, otherwise I’ll mark this as resolved.

    If you’re happy with the plugin and the assistance please review the plugin. Thanks.

    Andy

    Thread Starter suzgala

    (@suzgala)

    Hello, so we thought we had it resolved. It works beautifully on the calendar page. However, without short codes and no widget option for the full calendar, we are unable to install on our home page. The widgetized version of the calendar is still the mini view even with your code snippet. Any thoughts on how to make the full calendar portable?

    If not, we are still open to discussing custom development.

    Plugin Author Andy Fragen

    (@afragen)

    Suzanne,

    When you’re referring to shortcodes and widgets you must understand that you are no longer referring to this plugin, The Events Calendar Category Colors.

    There are more widget options in the The Events Calendar PRO, but I don’t believe there are shortcodes. You might take a look at this plugin that might add some of those options, http://wordpress.org/plugins/event-rocket

    When you say make the full calendar portable, what specifically do you mean?

    You currently seem to be using some other widget code on your home page for listing hours of operation. There is a list widget in the Events Calendar plugin. There is also a mini calendar widget in the PRO version.

    Perhaps it might be better to move some of these questions over to the Events Calendar plugin forum. I don’t think the developers of that plugin come to this forum frequently.

    Andy

    Thread Starter suzgala

    (@suzgala)

    Hi Andy, you are correct we have a Hours of Operation list on our homepage. We are looking to move away from that to a color coded calendar view.

    Thanks for sharing the short code plugin. It’s great, however, the short code for the calendar is the mini-calendar which removes the color coding.

    I know when I talk about shortcodes and widgets that is outside of this plugin. But do you think we could engage your services to customize your plugin so it is compatible with the mini calendar?

    Here is a mockup of what we are envisioning for our home page. https://www.ripleyaquariums.com/canada/files/2014/08/homepage2.png

    Thanks again for all your help. We have been through every available events plugin and have not found something that meets our needs. Our web development team is small and we don’t have time to custom develop pieces like this. Besides our 3 aquarium sites, we also run the site for ripleys.com and the 20+ sites for ripleys.com/attractions

    It would be well worth it to us to contract out the development of piece.

    Plugin Author Andy Fragen

    (@afragen)

    Suzanne,

    Let me see what I can do with a template override. Are you running Events Calendar PRO? If not, you’ll not have the mini-calendar widget.

    Thread Starter suzgala

    (@suzgala)

    Yes, we have the pro version. Thanks so much for anything you can do. We will be happy to compensate you for your time.

    Plugin Author Andy Fragen

    (@afragen)

    Suzanne,

    Try adding the following CSS and tell me if you like the calendar in responsive view. You will need to remove/comment out the tribe_events_kill_responsive filter.

    @media only screen and (max-width: 768px) {
        h3.entry-title.summary { display: none; }
        .tribe-events-calendar td .hentry { display: block; }
        .tribe-events-calendar .tribe-events-has-events:after { display: none; }
    }

    You can see how this looks by going to my test site on your phone. http://tribe.thefragens.net/events/month

    Plugin Author Andy Fragen

    (@afragen)

    And by all means, if you insist on compensation, there’s a donate link on the main plugin page. 😉

    It would make my wife very happy.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Color code minimized calendar’ is closed to new replies.