Posted By

Rito on 05/27/11


Tagged

typoscript


Versions (?)

Body class with page ID


 / Published in: TYPO3
 

adds a class/id to body with Page ID

  1. page.bodyTag >
  2. page.bodyTagCObject = TEXT
  3. page.bodyTagCObject {
  4. field = uid
  5. wrap = <body class="uid-|">
  6. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Rito on May 30, 2011

well instead of the uid field any other field can be used e.g. title // subtitle // abstract ...

You need to login to post a comment.