[TYPO3-content-rendering] replace textpic rendering in my simple template

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Aug 17 09:09:53 CEST 2006


Stano Paška schrieb am 17.08.2006 08:51:

> I looked into css_styled_content for rendering tt_news.
> Then I try import and activate tt_news in my template, with similar way, it works.
> tt_content.list = COA
> tt_content.list.20 = CASE
> tt_content.list.20.key.field = list_type
> tt_content.list.20.9 = CASE
> tt_content.list.20.9.key.field = layout
> tt_content.list.20.9.0 =< plugin.tt_news
> 
> Are you sure, that I don't need explicitly call your plugin?
> something like
> tt_content.textpic.20 =< plugin.cron_cssstyledimgtext

No, there is no such plugin. What you can do, if it doesn't work, is to
simply copy the same setup that cron_cssstyledimgtext uses in your TS-setup:

includeLibs.tx_croncssstyledimgtext_pi1 =
EXT:cron_cssstyledimgtext/pi1/class.tx_croncssstyledimgtext_pi1.php

tt_content.image.20 = USER
tt_content.image.20 {
  userFunc = tx_croncssstyledimgtext_pi1->render_textpic
  ...
}

See static/setup.txt file to see what else do you need there (just copy
everything).


Cheers,
Ernesto



More information about the TYPO3-project-content-rendering mailing list