[TYPO3-dev] Page CSS-Class

Christopher Torgalson bedlamhotel at gmail.com
Sun Nov 11 12:26:18 CET 2007


Hi,

On Nov 11, 2007 11:50 AM, Steffen Kamper <steffen at sk-typo3.de> wrote:
> Hi,
>
> for some sites i extended the Page-Table with one field to declare a
> CSS-Class for menu-generation. This is used e.g. to give special icons via
> css to menu entries.
> I know this can be achieved also with TS in a very complicate way or with
> "before" and a image, but the method with an entry in page record is easy,
> because editors are able to enter a class for the page.


I would suggest that, instead of adding a field, you use the existing
'Layout' field for this purpose. It's no harder to retrieve a value
from (and can be set up nicely for editors with TSconfig).


> What do you think, would this be a useful option in general (for core) or do
> you think that is to specific and has be done by an extension ?


-1

* Good job for extensions
* Usable field already present


-- 
Christopher Torgalson
http://www.typo3apprentice.com/




More information about the TYPO3-dev mailing list