[TYPO3-english] Render Content from php

Pablo Feldman pablofeldman90 at gmail.com
Wed Nov 21 16:52:07 CET 2012


Hi list,

I want to render the tt_content of a page (like CONTENT do), but inside a
php file inside a USER function

for example:

I have this inside a ts file
    5 = CONTENT
    5 {
        table = tt_content
        select {
            selectFields = bodytext,CType,pi_flexform,list_type
            pidInList = 2
            andWhere.cObject = COA
            andWhere.cObject {
                10 = TEXT
                10.dataWrap = sys_language_uid = {GP:L}
            }
        }
    }

How could I do this inside the php?

Thanks in advance


More information about the TYPO3-english mailing list