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

Gerhard Wendebourg gw at nwx.de
Mon Dec 10 16:38:30 CET 2012


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

    }



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


More information about the TYPO3-german mailing list