[Neos] CSS only in Backend

Patric Eckhart mail at patriceckhart.com
Tue Mar 31 12:18:02 CEST 2015


Thank you. I have it resolved this so:

frontendJavascripts = TYPO3.TypoScript:Template {
            templatePath = 'resource://MySite.Website/Private/Templates/Page/Default.html'
            sectionName = 'frontendJavascripts'
            @process.1 = ${node.context.workspaceName != 'live' ? '' : value}
        }

        backendStylesheets = TYPO3.TypoScript:Template {
            templatePath = 'resource://MySite.Website/Private/Templates/Page/Default.html'
            sectionName = 'backendStylesheets'
            @process.1 = ${node.context.workspaceName != 'live' ? value : ''}
        }


More information about the Neos mailing list