1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Calendar Viz - colour of events

Discussion in 'Community' started by ontarget, Jan 12, 2019.

  1. ontarget

    ontarget Member

    Level: Community
    Hi I have setup a calendar viz.
    I am trying to change the colour of individual entries based on the value of a dropdown.
    I am using the status element setting in the Calendar Viz and have tried the following

    Dropdown element
    example values: csl, pdst, ippn

    then in custom.css

    Code (CSS):

    .csl {
    color: blue;

    .pdst {
    color: pink;
    This did nothing despite clearing caches etc

    Attempt 2 php css file:

    header('Content-type: text/css');
    $c = $_REQUEST['c'];
    $id = $_REQUEST['id'];
    echo <<<EOT
    .csl {
    color: blue;

    .pdst {
    color: pink;

    Again no change :(

    Attempt 3 using a dbjoin element called "organisation"
    "csl" id value in table= "1"

    So in custom_css.php:
    .organisation_id1 {
    background-color: blue!important;

    Harrrumph still no joy.

    I have been looking at this forum thread for inspiration also cant find anything in the wiki about the status element.
    Any pointers on this please?

Share This Page