WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Category Colors (18 posts)

  1. anitrawolf
    Member
    Posted 1 year ago #

    I am trying to set up a category color in a multi-site installation, but when I add the #_CATEGORYCOLOR in the full calendar format settings, all of my listings go white. The code is grabbing the color, but it is always grabbing #FFFFFF - which is the default perhaps, but it is not what I have my categories set to...

    Is there a bug in the multi-site version keeping me from choosing category colors? Please help.

    The EM is network activated. I have a sub-site with a calendar that I want included on the main calendar, so I need it installed through the network.

    When I set a color in the Events > Event Categories, it saves and shows up again when I click on the category for details. BUT even uncategorized events go to white when I use the #_CATEGORYCOLOR style setting.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    a few things also to check...

    does it help if you try your calendar on the main site?

    also, do you have global tables enabled in your EM MS settings?

    if you have a sample link that may help clarify things too

  4. anitrawolf
    Member
    Posted 1 year ago #

    ageionwl - I am trying to make the change in the full calendar to the link color. I'm not advanced enough with programming to figure out how to alter the code in that post to work... Can you assist?

    Marcus - It is the main site that is having the issues. The sub-site does not have categories enabled at all. Yes, I have global tables enabled.

    I don't have the code active right now on my site because the client is working with it to add calendar items - and she cannot see them in the calendar if they are white. If I know when you are going to look at it, I can activate it momentarily so you can take a look...

  5. anitrawolf
    Member
    Posted 1 year ago #

    ageionwl - I am trying to make the change in the full calendar to the link color. I'm not advanced enough with programming to figure out how to alter the code in that post to work... Can you assist?

    Marcus - It is the main site that is having the issues. The sub-site does not have categories enabled at all. Yes, I have global tables enabled.

    I don't have the code active right now on my site because the client is working with it to add calendar items - and she cannot see them in the calendar if they are white. If I know when you are going to look at it, I can activate it momentarily so you can take a look...

  6. agelonwl
    Member
    Posted 1 year ago #

    Hi,

    actually, you can try this simple step:

    go to Events > Settings > Formatting > Calendar > Full Calendar > Event format then

    change

    #_EVENTLINK

    to

    <li><a href="#_EVENTURL" style="color:#_CATEGORYCOLOR">#_EVENTNAME</a></li>
  7. anitrawolf
    Member
    Posted 1 year ago #

    ageionwl - that is the original solution I tried, and I have used that exact code in EM on another website, but something with this multisite installation is causing it not to work. I have not touched any of the plugin code.

    It yields style="color:#FFFFFF" - for every event, event those that are uncategorized ... and I have none of my categories set to white.

    Still stumped.

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    can you confirm that you're using our Full Calendar that ships with EM, or are you trying to use the seperate WP FullCalendar plugin we made?

    a screenshot of your settings may help, we can double check by reproducing it on a test site.

  9. anitrawolf
    Member
    Posted 1 year ago #

    Yes. I am using the full calendar that ships with EM. I have made no modifications anywhere to the files - just to the settings.

    How to I get you a screenshot? I don't see an upload spot as I type here... Should I upload it to my site and link to it?

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    yes please, or any image sharing site.

  11. anitrawolf
    Member
    Posted 1 year ago #

  12. agelonwl
    Member
    Posted 1 year ago #

    maybe you can override #_CATEGORYCOLOR e.g. http://pastebin.com/Hy2pgMwz

    *paste in your theme functions.php

  13. anitrawolf
    Member
    Posted 1 year ago #

    That would maybe work if I wanted all my events black, but I can do that with CSS - I want the colors to be managed through the dashboard - as EM is set up to do. But it's just not working here. I'm stumped.

  14. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I just tested this out on a MS w/global tables site and it works fine for me...

  15. anitrawolf
    Member
    Posted 1 year ago #

    That's great that it's working for you, but it's still not working here and it's too late in the process for me to do a fresh install of the plugin and start over because they have entered years worth of events already.

    Oh well, I guess I will just have to tell the client we are stuck with one color for now.

  16. agelonwl
    Member
    Posted 1 year ago #

    hi again,

    can you check the categories of those events who turns white or #FFFFFF and if those categories does have colors set?

  17. anitrawolf
    Member
    Posted 1 year ago #

    All events turn white with every category when I use the #_CATEGORYCOLOR setting - even the events that do not have a category picked.

  18. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    not much more I can say without digging into your install, which is not something we can do for free users (unless many ppl have ths same issue)

    I'd suggest trying to use different themes, or (whilst unlikely in this case) deactivate other plugins just in case it's something related to that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic