[TYPO3-german] Typoscript: IncludeCSS schlägt fehl

Gerhard Wendebourg gw at nwx.de
Mon Dec 10 20:25:22 CET 2012


Am 10.12.2012 16:38, schrieb Gerhard Wendebourg:
> Hallo,
>
> ich habe das Problem, dass die Einbindung von Stylesheets durch Typoscript mit 
> includeCSS nicht funktioniert.
>
> Die hierzu gegebene TS-Anweisung ist die folgende:
>
>    page.includeCSS{
>    standard=fileadmin/templates/css/my_layout.css
>
>    }
Konnte dies nun nach einigen Experimenten lösen durch einen abschliessenden 
Slash bei der BaseURL.

Gruss / GW


>
>
>
> Der ausgeworfene HTML-Quelltext der Seite:
>
>    <base  href="http://localhost:8080/t3a 
> <view-source:http://localhost:8080/t3a>">
>
>    <title>debiant3a2: home2</title>
>    <meta  name="generator"content="TYPO3 4.7 CMS">
>
>    <link 
> rel="stylesheet"type="text/css"href="typo3temp/stylesheet_427bb03fe1.css?1355093007 
>
> <view-source:http://localhost:8080/t3a/typo3temp/stylesheet_427bb03fe1.css?1355093007>"media="all"> 
>
>    <link 
> rel="stylesheet"type="text/css"href="fileadmin/templates/css/my_layout.css?1355078880 
>
> <view-source:http://localhost:8080/t3a/fileadmin/templates/css/my_layout.css?1355078880>"media="all"> 
>
>
>
>
> Die Auskünfte von Firebug zu dem Problem:
>
>
> <linkmedia="all"href="fileadmin/templates/css/my_layout.css?1355078880"type="text/css"rel="stylesheet"> 
>
>
>    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>    <html><head>
>    <title>404 Not Found</title>
>    </head><body>
>    <h1>Not Found</h1>
>    <p>The requested URL /fileadmin/templates/css/my_layout.css was not found on
>    this server.</p>
>    <hr>
>    <address>Apache/2.2.16 (Debian) Server at localhost Port 8080</address>
>    </body></html>
>    </link>
>
> Es wird zwar Text auf der Seite angezeigt, aber unformatiert.
> Die Website ist lokalisiert im Unterverzeichnis /t3a der WebRoot.
>
> Es handelt sich um Typo3 V 4.7.7; PHP 5.4.*
> Das verwendete Template wurde mit Templavoila erstellt / gemappt.
>
> Dank für weiterführende Tips
>
> Gruß
> GW
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>



More information about the TYPO3-german mailing list