Viewing 7 replies - 1 through 7 (of 7 total)
  • Me too.
    I’m in the same case

    and: me too ?? after updating to Events Manager 5.3.7 this problem occured. I tried to save the categories again, tried different shortcode-configs and deleted the cache. no luck.

    @ ffeingol: I checked your website and everything seems to work again. how did you solve this?

    thx!

    Thread Starter ffeingol

    (@ffeingol)

    It’s a regex that is not matching. At line 356 in wp-fullcalendar.php I changed:

    return text.replace(/#([a-zA-Z0-9]{3}[a-zA-Z0-9]{3}?) - /g, '<span class="wpfc-cat-icon" style="background-color:#$1"></span>');

    with

    return text.replace(/#([a-zA-Z0-9]{3}[a-zA-Z0-9]{3}?)/g, '<span class="wpfc-cat-icon" style="background-color:#$1"></span>');

    The event category is no longer in the format #000000 - it’s now #000000 – so the pattern was not matching. I know this is a hack, but it got it working for me.

    Thread Starter ffeingol

    (@ffeingol)

    It’s not showing up properly in the post. The dash is now a HTML entity, so it’s not matching the regex.

    It works for me too!
    Thanks!!
    : ))))

    thanks ffeingol! this also solved my problem.

    topic resolved…

    hi, thanks. it works fine for me.
    how could i delete the hyphen after the colored square?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Category drop-down show color code not color block’ is closed to new replies.