/ Published in: TYPO3
adds a class/id to body with Page ID
Expand |
Embed | Plain Text
page.bodyTag > page.bodyTagCObject { field = uid wrap = <body class="uid-|"> }
Comments
Subscribe to comments
You need to login to post a comment.

I like the idea of having a specific class on every page, to target special cases with CSS rules, but...
I dont like the idea of revealing the uid of each page to the visitors. Makes the site more "hackable"
well instead of the uid field any other field can be used e.g. title // subtitle // abstract ...