Render the whole content of a page in extension of typo3


 
For read your page content First you have to set your object

     $cObj = t3lib_div::makeInstance("tslib_cObj");

Then after you have to set below code for render your page content (tt_content)

   
   $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

If you have any queries, please do not hesitate to contact me at Jainish SenjaliyaRender the whole content of a page in extension of typo3

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s