[Neos] Include Stylesheet & Scripts

Kurt Knick kurt.knick at gmail.com
Fri Jan 16 15:16:31 CET 2015


hello dear neos list,

i started my first neos sit package and stuck at the first problem. i
included the stylesheet in the default page template:

<link rel="stylesheet" href="{f:uri.resource(path:
'Styles/bootstrap.min.css', package: 'My.DomainDe')}" media="all" />

my ts looks as follows:

stylesheets.site = TYPO3.TypoScript:Template {
            templatePath =
'resource://My.DomainDe/Private/Templates/Page/Default.html'
            sectionName = 'stylesheets'
        }

but i get the following html code:

<link rel="stylesheet"
href="http://www.domain.de/_Resources/Static/Packages/My.DomainDe/Styles/bootstrap.min.css"
media="all" />

what i did wrong ?


thank you
kurt


More information about the Neos mailing list