First of all, congratz, beez is the very best template for J!1.5 RC1.
I'm writing a component for J!.
For that, I need special styles, e.g. a red heading.
I defined the css-file (/components/com_comname/assets/css/tmpl.css) and in there
Code: Select all
#exerciseheading { color: #f00; text-decoration: line-through; }. In the /components/com_comname/views/one/tmpl/default.php I
Code: Select all
$document =& JFactory::getDocument();
$document->addStyleSheet(JPATH_COMPONENT.DS.'assets'.DS.'css'.DS.'tmpl.css');
Code: Select all
<h1 id="exerciseheading"><?php echo $name; ?></h1>
How can I change such things?
Greetz and thanks for your help
Aljoscha Peters