[TYPO3] php and TS

Andrea Giorgini a.giorgini at norvlit.de
Fri Apr 21 16:29:31 CEST 2006

Ries van Twisk wrote:
> yes there is actually.
> you can do something like this:
> page.20 < plugin.tx_pluginname_pi1
> page.20.someConfigValue = 1
> To get the content out of your plugin into typoscript.
> someConfigValue will be found in $this -> cong ['someConfigValue'];
> Ries

Thank you again for your answer.
But this way I'll have in PHP what I configure into TS, right? This is 
not so clear to me... or are you telling me that after I get the result of:

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*','tt_address',$clause);
$rows = array();
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))
	$rows[] = $row;

I could play something like

$this->conf['someConfigValue'] = rows;

and I'll have the result of the query into TS?


More information about the TYPO3-english mailing list