Skip to content

Commit

Permalink
Added custum.css check in calendar viz. Should really get round to
Browse files Browse the repository at this point in the history
doing this for all viz, but had a need for it now in calendar.
  • Loading branch information
cheesegrits committed Sep 27, 2012
1 parent 264a989 commit d03126a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ public function display($tpl = 'default')
{
JHTML::stylesheet('plugins/fabrik_visualization/calendar/views/calendar/tmpl/' . $tpl . '/template.css');
}

/* Adding custom.css, just for the heck of it */
$ab_css_file = $tmplpath . '/custom.css';
if (JFile::exists($ab_css_file))
{
JHTML::stylesheet('plugins/fabrik_visualization/calendar/views/calendar/tmpl/' . $tpl . '/custom.css');
}
return parent::display();
}

Expand Down

0 comments on commit d03126a

Please sign in to comment.