/ Published in: TYPO3

Simply adds the Page ID and the Parent ID (uid, pid) in the Body-Tag.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
###################################################### ## Body Tag with Page ID and Parent ID ###################################################### page.bodyTag > page.bodyTagCObject { 10.field = uid 10.wrap = <body id="page_|" 20.field = pid 20.wrap = class="pid_|"> } ###################################################### ## Body Tag only with Page ID ###################################################### page.bodyTag > page.bodyTagCObject.field = uid page.bodyTagCObject.wrap = <!!=|>
Comments
