[TYPO3-templavoila] Adding JS from FCE
Ron Hall
ronslists at busynoggin.com
Wed Nov 11 20:43:59 CET 2009
Thanks Dmitry,
That is a great thing for JS and CSS with FCE's. I will do it that way from now on.
Ron
On Nov 11, 2009, at 2:28 AM, Dmitry Dulepov wrote:
> Hi!
>
> Ron Hall wrote:
>> That's cool. So if an FCE is repeated on the page does it only add the
>> JS in the head once?
>
> Yes. It uses hash to make unique entry if I remember correctly.
>
> It uses the same $TSFE->additionalHeaderData as page header data does. In fact, the same piece of code is used in both cases, so it works identically.
>
> --
> Dmitry Dulepov
> "Trust me, I am a doctor!" (c) Gregory House, M.D.
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
>
More information about the TYPO3-project-templavoila
mailing list