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

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Aug 15 14:19:52 CEST 2006


Stano Paška schrieb am 15.08.2006 07:46:

> (...)
> Can I use it (cron_cssstyledimgtext) separately, only to render textpic element?

Yes.

> Must I include css_styled_content too?

No.

> How can I invoke it?

Just in the same way as it is being included in css_styled_content. Add
the static template "CSS Styled IMGTEXT" in your main template and make
sure it gets called AFTER your own templating stuff. Be sure to have
prepared the "tt_content.image" and "tt_content.textpic" parts in your
template. They have to be COAs with at least the header in ".10".
Something like this:

tt_content.image = COA
tt_content.image.10 =< lib.stdheader
tt_content.textpic = COA
tt_content.textpic.10 =< lib.stdheader

The rest (the ".20" parts that will render the text and images) will
come from cron_cssstyledcontent.

Make sure everything is ok using the "TypoScript Object Browser", which
is your best friend when trying stuff like that.


Cheers,
Ernesto



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