Changing the style according to article section or category

From Joomla! Documentation

Revision as of 04:40, 21 March 2009 by BenniP (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Discussion in Joomla! Forum: [1]

How much PHP can be put into this article? I don't see a way doing it without changing the template's code.

I think, it would be good to add a CSS-File named by the category or category-Id, that will be included by the PHP-Code.


IF the file /template/{templatename}/css/categories/{examplecategory}.css EXISTS

THEN include it into Document.

BenniP 10:40, 21 March 2009 (UTC)