I am trying to specify the CSS class for my elements.
When setting the "CSS Class" to the brick in J-Cook, it is not applied to my component when I download.
The same is true for individual form elements inside the form brick.
I added the class "myCssClass" to both bricks and form elements in J-Cook, then downloaded the component, and searched all files inside for "myCssClass". It does not appear anywhere in the component.
I am also attempting to use JDom while customizing my component. I want to add a date picker range, and I cannot figure out how to apply a css class.
<?php echo JDom::_('html.form.input.range', array(
'rangeNameSpace' => 'html.form.input.calendar',
'dataKey' => 'filter_period',
'dataValueFrom' => $this->filters['period_start']->from,
'dataValueTo' => $this->filters['period_end']->to,
'labelFrom' => "CHRONOS_JSEARCH_FROM",
'labelTo' => "CHRONOS_JSEARCH_TO",
'size' => 12,
'alignHz' => true,
'dateFormat' => 'Y-m-d'
));
?>
What do I need to add to this to code to add a css class to the element?
Thank you.