[TYPO3-english] tt_news: clear general_stdWrap only from the teaser
Katja Lampela
katja.lampela at lieska.net
Mon Mar 2 10:06:23 CET 2009
Hi,
I'm really sorry for cross-posting - but I think I'm missing the obvious
solution for this and I guess there are many more readers here than in
tt_news list..?
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.
The following clears the p tag all together from the news, but adding
it into the single doesn't work in following way. There is a wrap for
everything else in default setup, but bodytext and I don't get any
effect from the content_stdWrap.
So is there a way to add the p tag to the single news bodytext? Or
should I do it somehow the other way around.. If I delete the
general_stdWrap part the p tag is there again in the teaser even though
there is the subheader_stdWrap.wrap >
plugin.tt_news {
general_stdWrap >
displayList {
subheader_stdWrap.wrap >
subheader_stdWrap.wrap = |
subheader_stdWrap.stripHtml = 1
}
displaySingle {
subheader_stdWrap.wrap = <h3>|</h3>
content_stdWrap = <p class="bodytext">|</p>
}
}
plugin.tt_news.content_stdWrap = <p class="bodytext">|</p>
doesn't work either.
Any help much appreciated,
Katja
More information about the TYPO3-english
mailing list