[TYPO3-english] tt_news: clear general_stdWrap only from the teaser

Dmitry Dulepov dmitry at typo3.org
Mon Mar 2 11:12:46 CET 2009


Hi!

Katja Lampela wrote:
> I'm trying a simple task: to clear the general wrap <p class="bodytext">
> from my news teasers (subheader) but leave it in the news single, but I
> can't get it working.

So it should be as is for single and cleared for list? Use conditions!

[globalVar = GP:tx_ttnews|tt_news > 0]
# nothing
[else]
plugin.tt_news.general_stdWrap >
[global]

-- 
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")


More information about the TYPO3-english mailing list