[TYPO3-dev] drawRTE

Franz Koch typo.removeformessage at fx-graefix.de
Fri Feb 20 14:53:29 CET 2009


Hi,
> I was just wondering is it's possible to find out where the current 
> drawRTE is used?
> And with where I mean either in the BE like with the "normal" 
> layout/templavoila or within the FE editing feature...
> 
> I took a quick look at all variables in the function
> drawRTE($parentObject, $table, $field, $row, $PA, $specConf, 
> $thisConfig, $RTEtypeVal, $RTErelPath, $thePidValue) {
> 
> but I didn't found anything that would indicate who actually requested 
> the RTE...
> 
> does anyone have a hint?

how about checking for the constant TYPO3_MODE, which is either 'FE' or 
'BE'? Or check for $GLOBALS['TSFE']?

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------




More information about the TYPO3-dev mailing list