[Neos] Include Stylesheet & Scripts

Aske Ertmann aske at moc.net
Tue Jan 20 22:03:44 CET 2015


Hi Kurt

Could you explain what is wrong? The html code you get looks exactly like it should?

Cheers,
Aske

> On 16 Jan 2015, at 15:16, Kurt Knick <kurt.knick at gmail.com> wrote:
> 
> 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
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list