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

Carsten Bleicker carsten at bleicker.de
Thu Jun 26 16:11:49 CEST 2014


prototype(...){
	bodyTag { attributes.id = ${'page_' + q(node).property('_identifier')} }
}


----------------------

Carsten Bleicker
Wülfingstraße 1
42477 Radevormwald

E-Mail:	carsten at bleicker.de
Web:	www.bleicker.de
Twitter:	@carstenbleicker
Jabber:	cbleicker at jabber.ccc.de
Telefon:	+49 (0)171-2690845

Am 26.06.2014 um 15:56 schrieb Maxi milian <info at maxguz.de>:

> 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:
> page {
> bodyTag >
> bodyTagObject = TEXT
> bodyTagObject.dataWrap = <body id="uid-{field-uid}" >
> }
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list