[TYPO3-english] [Typoscript question]: How to add the page uid to the body tag?

Christopher Torgalson bedlamhotel at gmail.com
Thu Jun 10 01:09:30 CEST 2010


Hi,

On Wed, Jun 9, 2010 at 3:55 PM, Daniel Doesburg | Doesburg.biz
<daniel at typo3-nl.eu> wrote:
> Hi Ries,
>
> Yes this part of typoscript is known.
>
> But now I'm looking for a way to add, as id or class, the "name" of the TV
> template.
>
> The templates are called f1a to f3d.
> So the body tag should look like:
>
> The template is the f2c and the page uid is 21.
>
> <body id="f2c" class="pg_21">

Search the TSref for "dataWrap".

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


More information about the TYPO3-english mailing list