[TYPO3-mvc] Is setting the <body> class within an extbase extension possible?
Roland
most.wanted at gmx.at
Wed Nov 2 16:16:05 CET 2011
thanks, i guess this works for me.
Am 01.11.11 11:54, schrieb Henjo Hoeksma:
> Well.... long life TypoScript.
>
> You can use conditions to achieve this and generate the body tag from
> TypoScript.
>
> This is not specifically an extbase thing. You could dive into the FLUID
> TEMPLATE object to build your site fully using Fluid templates, and do some
> logic there with viewhelpers to achieve what you want to.
>
> Should be a fun exercise :-)
>
> Kind regards,
>
> Henjo
>
> Problems are small because we learned how to deal with them.
> Problems are big because we need to learn how to deal with them.
>
>
> On Tue, Nov 1, 2011 at 11:24, Roland<most.wanted at gmx.at> wrote:
>
>> is it possible to set/add a class="myclass" to<body> from within an
>> extbase extension?
>>
>> e.g. depending on the controller and action (and other parameters) which
>> are used on the current page?
>>
>> example:
>>
>> controller="Article"
>> action="list"
>>
>> --> <body class="template_**articlelisting_category_sport"**>
>> ______________________________**_________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
>> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
>> project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc>
>>
More information about the TYPO3-project-typo3v4mvc
mailing list