[TYPO3-core] RFC: #9372: Code in class.tx_tstemplateanalyzer.php don't match with the new CGL

Steffen Kamper info at sk-typo3.de
Thu Sep 18 18:02:05 CEST 2008


Hi Stefano,

Stefano Kowalke schrieb:
> Sorry for this possibly stupid question: 
> Why don't do the same with $tplRow? This variable was initialized by
> initialize_editor() too. 
> Ok, i know why - it did not work, but why it did not work?
> 

i stumbled about that also while modifying another template module.
The reason is that it's fetched in initialise-function, but also filled 
by pObj (when you switch the select box). So if you use $this->tplRow 
you ever have the first one in it.

vg Steffen




More information about the TYPO3-team-core mailing list