[TYPO3-dev] Add JS file from extbase extension
Tomiţă MILITARU
tomita.militaru at gmail.com
Fri Dec 14 14:19:42 CET 2012
On Fri, Dec 14, 2012 at 3:12 PM, Mattias Nilsson <tollepjaer at gmail.com>wrote:
> Hi,
>
> Why are you not including it by typoscript?
>
Well I want to be able to decide to include it or not on certain websites
by a certain parameter. A solution with a typoscript would be okay also.
> 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
> >
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
--
Engr. Tomiţă MILITARU
Certified TYPO3 Integrator
Tel. +40741064681
More information about the TYPO3-dev
mailing list