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

Sebastian Michaelsen sebastiangebhard at hoch2.de
Wed Jun 9 16:10:36 CEST 2010


Am 09.06.10 16:05, schrieb Daniel Doesburg | Doesburg.biz:
> Hi,
>
> I use the TV Framework of Ron Hall.
> Every body tag has the mnemonic of the template as id
>
> P.E. <body id="fa1">
>
> Now I want to add a second id, with the uid of the page, to this tag
>
> P.E. <body id="fa1" id="page_12">
>
> How can I do that with typoscript?
Even though that's not your question..

You are not allowed to assign two IDs to one Tag in HTML.
Generally a Tag can have each attribute only once.

Consider using classes instead.

Kind regards,
Sebastian


More information about the TYPO3-english mailing list