[Neos] <body id="uid-{field-uid}" > in Neos?

Christian Müller christian.mueller at typo3.org
Thu Jun 26 16:13:24 CEST 2014


Hi,

Maxi milian wrote:
> It is possible to add an "id" to <body />?
> 
> In TYPO3 it is very easy with typoscript. You could add the page uid,
> for example:

try:

page.bodyTag.attributes.id = ${'page-' + node.identifier}

That should give you a unique id attribute per page.

Cheers,
Christian

-- 
Christian Müller
Flow / Neos Team Community Contact

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org




More information about the Neos mailing list