Hallo TYPO3-Freunde und -Freundinnen,

habe hier ein Problem mit fluidtypo3 und Caching. Ich binde jquery und verschiedene weitere js-Dateien ein. Nach Leeren des Frontendcaches ist auch alles korrekt. Beim zweiten Aufrufen der Seite tauchen die js-Dateien plötzlich doppelt im Footer meines Dokumentes auf, was ziemlich störend ist, da der Code dann auch doppelt ausgeführt wird - und z.B. mein Menübutton für Mobile doppelt erscheint. Die CSS-Dateien tauchen ebenfalls doppelt auf im Header.

Hat jemand eine Idee, was ich hier falsch mache? Oder wonach ich noch schauen könnte? Das ist das dritte fluidtypo3-Projekt und das erste Mal, dass der Fehler auftaucht.

Habe den Code aus meinem anderen Projekt übernommen, wo der Fehler nicht auftritt.

Hier der Code in der setup.txt:

// add CSS files
plugin.tx_vhs.settings.asset {
     normalize {
         name = normalize
         path = EXT:dx_quickstart/Resources/Public/css/normalize.css
         type = css
     }
     typeplate {
         name = typeplate
         path = EXT:dx_quickstart/Resources/Public/css/typeplate.css
         type = css
         dependencies = normalize
     }
     styles {
         name = styles
         path = EXT:dx_quickstart/Resources/Public/css/style.css
         type = css
         dependencies = typeplate,normalize
     }
     jqueryUi {
         name = jqueryUi
path = EXT:dx_quickstart/Resources/Public/css/jquery-ui-1.10.3.custom.css
         type = css
     }
     meanMenu {
         name = meanMenu
         path = EXT:dx_quickstart/Resources/Public/css/meanmenu.css
         type = css
     }
     pageStyles {
         name = pageStyles
         path = fileadmin/default/templates/css/style.css
         type = css
         dependencies = styles,typeplate,normalize
     }

        // add JS files
        jquery {
         name = jquery
         path = EXT:dx_quickstart/Resources/Public/js/jquery-1.11.1.min.js
         type = js
         movable = 0 // don't move to bottom of page
         // don't copy to typo3temp, get it directly
         //external = 1 // external source
         standalone = 1 //exclude it from concatenation
         rewrite = 0 // included as is without any processing
     }
     jqueryUI {
         name = jqueryUI
path = EXT:dx_quickstart/Resources/Public/js/jquery-ui-1.10.3.bay.min.js
         type = js
         movable = 1
         standalone = 1 //exclude it from concatenation
         rewrite = 0 // included as is without any processing
     }
     modernizr {
         name = modernizr
         path = EXT:dx_quickstart/Resources/Public/js/modernizr.js
         type = js
         movable = 1
     }
     meanMenuJs {
         name = meanMenuJs
path = EXT:dx_quickstart/Resources/Public/js/jquery.meanmenu.min.js
         type = js
         dependencies = jquery
         movable = 1
     }
         script {
         name = script
         path = EXT:dx_quickstart/Resources/Public/js/script.js
         type = js
         dependencies = jquery
         movable = 1
     }
     specialistSearch {
         name = specialistSearch
path = EXT:dx_specialistsearch/Resources/Public/Scripts/behaviour.js
         type = js
         dependencies = jquery
         movable = 1
     }
     downloadCenter {
         name = downloadCenter
         path = EXT:edx_download/res/js/behaviour.js
         type = js
         dependencies = jquery,jqueryUI
         movable = 1
     }
 }

Ich verwende:
TYPO3 6.2.3 (wird demnächst noch upgedatet)
flux 7.1.2
fluidcontent 4.1.1
fluidpages 3.1.2
vhs 2.1.3

--

    -------------------------------------
    digital worx GmbH
    Schulze-Delitzsch-Str. 16
    70565 Stuttgart
    Tel. 0711 220 40 93 0
    Fax. 0711 220 40 93 44
    [name]@digital-worx.de
    http://www.digital-worx.de
    -------------------------------------
    Geschaeftsfuehrer:
    Sven Rahlfs
    Mirko Ross
    HRB 22 5281 Amtsgericht Stuttgart
    USt.-Id. Nr.: DE218401190
    -------------------------------------
    Unseren Blog finden Sie unter:
    http://think.digital-worx.de
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an