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

Christopher Torgalson bedlamhotel at gmail.com
Wed Jun 9 17:15:36 CEST 2010


Hi,

On Wed, Jun 9, 2010 at 8:05 AM, Daniel Doesburg | Doesburg.biz
<daniel at typo3-nl.eu> wrote:
> Hi Stephen and Karl,
>
> I think I was not clear enough.
>
> I use the TV framework of Ron Hall. The html-source has already a body tag
> in this form:
>
> <body id="f1a">
>
> Now I want to ADD a dynamic id or class
>
> P.E. <body id="f1a" class="pg12">
>
> The type of the TV-template and the uid of the page.


Hopefully the body tag is generated by TS and not mapped in from the
template. If it's mapped in from the template, you're going to need to
change how it's mapped and then define it in TS, but if it's already
TS, use the TS Object Browser in the Template module in the BE to
change how it's done. If you need specific help with that, you're
going to have to post the TS you find to this thread (I don't think
that TV framework is especially widely used).


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


More information about the TYPO3-english mailing list