Talk

Changing the style according to article section or category

From Joomla! Documentation

Revision as of 05:40, 21 March 2009 by BenniP (talk | contribs) (draft in talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

e.g.

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

THEN include it into Document.


BenniP 10:40, 21 March 2009 (UTC)