[Typo3-dev] render the whole content of a page in extension

media.res | alex widschwendter a.widschwendter at mediares.at
Thu Jan 27 12:21:56 CET 2005


hi tim,

Try to make a cObj and use the CONTENT() method from it.

   $cObj = t3lib_div::makeInstance("tslib_cObj");
   $conf = array('table' => 'tt_content',
                 'select.' => array('pidInList' => $pidList,
                                    'orderBy' => 'sorting')
           );
   $renderedContent = $cObj->CONTENT($conf);

This is the same as the "CONTENT" object in TS, so the configuration
is the same as described in:

http://typo3.org/documentation/document-library/doc_core_tsref/CONTENT-1/

hth alex




More information about the TYPO3-dev mailing list