[TYPO3-project-4-3] Datepicker for TCEFORMS

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Aug 6 15:03:20 CEST 2009


Hi!

Steffen Kamper wrote:
> Dmitry Dulepov schrieb:
>>
>> Will the following line work if TCEforms is used from an extension?
>>
>> +            $this->loadJavascriptLib('../t3lib/js/tceforms.js');
>>
> yes, as TCEforms does this with this wrapper:
> $GLOBALS['SOBE']->doc->loadJavascriptLib
> 
> that's the reason TCEforms uses the GLOBALS here.

I was worried by the relative path. If it works also from typo3conf/ext/something/else/class.tx_something.php, I am fine. I was under impression that it works only from typo3/.

-- 
Dmitry Dulepov
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs


More information about the TYPO3-project-4-3 mailing list