• Resolved anitrawolf

    (@anitrawolf)


    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.

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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

    Thread Starter anitrawolf

    (@anitrawolf)

    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…

    Thread Starter anitrawolf

    (@anitrawolf)

    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…

    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>

    Thread Starter anitrawolf

    (@anitrawolf)

    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.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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.

    Thread Starter anitrawolf

    (@anitrawolf)

    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?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    yes please, or any image sharing site.

    Thread Starter anitrawolf

    (@anitrawolf)

    I have posted two screenshots at

    One of the settings page and one of what the page looks like with this setting.

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

    *paste in your theme functions.php

    Thread Starter anitrawolf

    (@anitrawolf)

    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.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

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

    Thread Starter anitrawolf

    (@anitrawolf)

    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.

    hi again,

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Category Colors’ is closed to new replies.