Posted By

quadratliter on 11/04/09


Tagged

typoscript typo3


Versions (?)

Body Tag with Page ID and Parent Id (uid, pid)


 / Published in: TYPO3
 

Simply adds the Page ID and the Parent ID (uid, pid) in the Body-Tag.

  1. ######################################################
  2. ## Body Tag with Page ID and Parent ID
  3. ######################################################
  4. page.bodyTag >
  5. page.bodyTagCObject = COA
  6. page.bodyTagCObject {
  7. 10 = TEXT
  8. 10.field = uid
  9. 10.wrap = <body id="page_|"
  10. 20 = TEXT
  11. 20.field = pid
  12. 20.wrap = class="pid_|">
  13. }
  14.  
  15. ######################################################
  16. ## Body Tag only with Page ID
  17. ######################################################
  18. page.bodyTag >
  19. page.bodyTagCObject = TEXT
  20. page.bodyTagCObject.field = uid
  21. page.bodyTagCObject.wrap = <body id="page_|">

Report this snippet  

You need to login to post a comment.