[TYPO3-english] Include JS files / TemplaVoilá

Masod Mohmand masod.mohmand at gmail.com
Mon Jul 8 15:21:45 CEST 2013


Hi,

you should give

[PIDinRootline = pages-uid, pages-uid, ...]

or

[PIDupinRootline = pages-uid, pages-uid, ...]

in your root-template a try.

[PIDinRootline = pages-uid]

page.includeJS {
    jquery-min = fileadmin/templates/js/lib/jquery.min.js
    init = fileadmin/templates/js/init.js
}

[global]

regards,
Masod

Am 08.07.13 13:54, schrieb Miguel:
> Greetings friends!
>
> My question is very simple: how can i call a .js file in a subpage? I
> can only load the .js files in the root of the template, but i need to
> load a .js file in a specific page, not on the root of the template....I
> tried to load the .js file in the specific page by creating an extension
> template, but it doesnt work, i can only load .js files in the root of
> the template.
>
> On other subject, its not possible to install TemplaVoilá in Typo3 6.1,
> so i would like to know what are the best alternatives to TemplaVoilá
>
> Thank you very much for your attention



More information about the TYPO3-english mailing list