[TYPO3-dev] Add JS file from extbase extension
Mattias Nilsson
tollepjaer at gmail.com
Fri Dec 14 14:12:38 CET 2012
Hi,
Why are you not including it by typoscript?
page {
includeJSFooter {
plugins = {$template.path}/JavaScript/plugins.js
}
}
/Mattias
On Fri, Dec 14, 2012 at 2:07 PM, Tomiţă MILITARU
<tomita.militaru at gmail.com>wrote:
> Hello,
>
> I am trying to add a JS file from within an extension code following this
> gist:
> https://gist.github.com/28645ad6b1ac2e484425
>
> But it doesn't seem to have any effect, tried also the other functions from
> pagerender (eg. addJsFile), but with no effect.
>
> Any idea what is wrong / missing?
>
> --
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list