[TYPO3-dev] Call tt_news plugin from my created extension?

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jun 4 14:40:05 CEST 2008


Hi!

Brian Bendtsen wrote:
> and in my ts setup for the current page I have inserted this:
> 
> plugin.tt_news {
>  templateFile = 
> fileadmin/templates/extensions/tt_news/tt_news_latest_small.html
>  code = LATEST
>  latestLimit = 2
>  pid_list = 248
> }
> 
> plugin.tx_myplugin_pi1.newsmarker < plugin.tt_news
> 
> But the output is "USER".

This is correct because "plugin.tt_news" contains string "USER". "<" is a copy operator, it copies TS definition, not the result of execution of that definition.

-- 
Dmitry Dulepov
Learn more about TYPO3: http://typo3bloke.net/




More information about the TYPO3-dev mailing list