[TYPO3-templavoila] Adding JS from FCE

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Nov 11 09:28:14 CET 2009


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.


More information about the TYPO3-project-templavoila mailing list