[TYPO3-english] Inlcuding javascripts in bottom

Sebastian Michaelsen sebastiangebhard at hoch2.de
Wed Jun 9 10:43:17 CEST 2010


Am 08.06.10 20:48, schrieb Christopher Torgalson:
> This is not strictly true. If you're willing to add all JS files to
> the page source by hand (i.e. with TS), you can exploit the fact that
> the PAGE object has .stdWrap properties:
>
>
> page = PAGE
> page {
>    stdWrap.append = COA
>    stdWrap.append {
>      10 = TEXT
>      10.value =<script type="text/javascript"
> src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
>    }
> }
>
Since ages I include Tracking software like this:

page.1216 = TEXT
page.1216.value = <script 
src="https://ssl.google-analytics.com/urchin.js" 
type="text/javascript"></script><script type="text/javascript">_uacct = 
"{$page.ganalytics.id}";urchinTracker();</script>



More information about the TYPO3-english mailing list