[TYPO3-english] swap CSS order of TemplaVoila and includes

Markus Klein klein.t3 at mfc-linz.at
Mon Mar 26 13:48:05 CEST 2012


Hi!

Usually we simply copy the default CSS from an extension and put it into our own stylesheets.
In case of tt_news you simply remove the default styles static template from the template record.

Kind regards
Markus

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Daniel Neugebauer
> Sent: Monday, March 26, 2012 1:31 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] swap CSS order of TemplaVoila and includes
> 
> Hi!
> 
> We updated an old website from Typo3 4.3 to 4.5, including TemplaVoila.
> 
> Before the update, our stylesheets and scripts were included after the "default" stylesheet, like this:
> 
> <link href="typo3temp/stylesheet_7eaa4a062b.css?1327527612" ... /> <link href="fileadmin/templates/main/main.css?1330614653"
> ... /> [more CSS from our template]
> 
> <script src="typo3temp/javascript_93077bb238.js?1297258382"...></script>
> <script src="fileadmin/templates/main/main.js" ... ></script> [more JS from our template]
> 
> 
> After the update, the order got swapped, so we now have:
> 
> <link href="fileadmin/templates/main/main.css?1330614653" ... /> [more CSS from our template] <link
> href="typo3temp/stylesheet_7eaa4a062b.css?1327527612" ... />
> 
> <script src="fileadmin/templates/main/main.js" ... ></script> [more JS from our template] <script
> src="typo3temp/javascript_93077bb238.js?1297258382"...></script>
> 
> 
> Is there any way to get back to the old order? We override some styles from tt_news (and maybe something else) in our stylesheets
> and we would prefer not to identify them all and add !important just to get them running again.
> 
> The option "Static Template Files from TYPO3 Extensions" in Template/Includes is set correctly, selecting another option doesn't
> change the order.
> 
> Thanks,
> Daniel
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list