[Neos] Specific CSS and JS in Backend-View

Aske Ertmann aske at moc.net
Sat Nov 1 10:04:00 CET 2014


This should work in your package just fine.

Are you sure the template you used has the node variable available?

> On 29 Oct 2014, at 10:07, Maxi milian <info at maxguz.de> wrote:
> 
> I want to insert specific CSS- and JS-Files in Backend-View. I found an example in "TYPO3.NeosDemoTypo3Org" Package.
> 
> <f:if condition="{node.context.workspace.name} != 'live'">
> <link rel="stylesheet" href="{f:uri.resource(path: 'Styles/Backend.css', package: 'TYPO3.NeosDemoTypo3Org')}" media="all" />
> </f:if>
> 
> But in my package this Code-Snippet is still not working. How could i fix this?
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list