[TYPO3-ttnews] Calling tt_news from another extension

Rens Admiraal typo3 at ambitiondesign.nl
Sat Jun 23 20:36:06 CEST 2007


Hi all,

I've created an extension in which I want to add tt_news. As an  
example I've created a <div> element, in which I want a news list (or  
other plugin) to load, and show it's content.

I thought I could do this with the following code:


$tt_news = t3lib_div::makeInstance('tx_ttnews');
$div .= $tt_news->main_news($content, $conf);

But, this doesn't work.

Does anybody know how I can do this?


Greetz,
Rens


More information about the TYPO3-project-tt-news mailing list