title: Typo3 Adding a class to the body tag on a specifc page
body: <p>I'm trying to figure out how conditionally add a class to the body tag of a specific page. I'm trying to do it via typoscipt but haven't been able to figure it out. Maybe there's a better way to do it though. The site is using Typo3 version 4.4.6</p>
  
  <p>I've tried this which didn't work</p>
  
  <pre><code>page.4.bodyTag &gt;
  page.4.bodyTagCObject = TEXT
  page.4.bodyTagCObject {
      field = uid
       wrap = &lt;body class="uid-|"&gt;
  }
  </code></pre>
  
  <p>Any help or pointers would be greatly appreciated!</p>