[TYPO3] php and TS

Ries van Twisk typo3 at rvt.dds.nl
Fri Apr 21 16:08:46 CEST 2006


Andrea Giorgini wrote:

>Hi,
>hope to don't bother with newbie questions.
>I was used to play with php and smarty so writing my first module the 
>first question came pretty soon.
>
>They asked me to implement a search tool that look for addresses into 
>tt_address. My point is: I didn't write 1 line of TS... is this right?
>
>Is it the only approach to render the result of a query from PHP? Or is 
>there any way to give it back to TS?
>  
>
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

>Hope my question is clear...
>Thx a lot,
>
>Andrea
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>  
>


-- 
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web:   http://www.livetravelguides.com




More information about the TYPO3-english mailing list