ontarget
Active Member
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
plugins/fabrik_visualization/fullcalendar/views/fullcalendar/tmpl/bootstrap/custom.css
This did nothing despite clearing caches etc
Attempt 2 php css file:
plugins/fabrik_visualization/fullcalendar/views/fullcalendar/tmpl/bootstrap/custom_css.php
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.
http://fabrikar.com/forums/index.ph...alendar-viz-for-css-use-and-templating.45692/
Any pointers on this please?
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
plugins/fabrik_visualization/fullcalendar/views/fullcalendar/tmpl/bootstrap/custom.css
CSS:
.csl {
color: blue;
}
.pdst {
color: pink;
}
This did nothing despite clearing caches etc
Attempt 2 php css file:
plugins/fabrik_visualization/fullcalendar/views/fullcalendar/tmpl/bootstrap/custom_css.php
PHP:
header('Content-type: text/css');
$c = $_REQUEST['c'];
$id = $_REQUEST['id'];
echo <<<EOT
.csl {
color: blue;
}
.pdst {
color: pink;
}
EOT;
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.
http://fabrikar.com/forums/index.ph...alendar-viz-for-css-use-and-templating.45692/
Any pointers on this please?