[TYPO3-dev] Add JS file from extbase extension

Tomiţă MILITARU tomita.militaru at gmail.com
Fri Dec 14 14:29:13 CET 2012


On Fri, Dec 14, 2012 at 3:24 PM, Kay Strobach <typo3 at kay-strobach.de> wrote:

> Hi,
>
> than use a typoscript condition in combination with a typoscript constant.
>
>
Ok, I will, but any idea why any of those functions aren't working (for me)
?


> Regards
> Kay
>
> Am 14.12.2012 14:19, schrieb Tomiţă MILITARU:
> > 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
> >>
> >
> >
> >
>
>
> --
> http://www.kay-strobach.de - Open Source Rocks
>
> TYPO3 .... inspiring people to share!
> Get involved: http://typo3.org
>
> Answer was useful - feel free to donate:
>   -
>
> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
>   - https://flattr.com/profile/kaystrobach
>
> _______________________________________________
> 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