[TYPO3-ttnews] How to keep HTML formatting in subheader when copying content from body in LATEST

Nicolas Cohen nicolas at ranlogic.com
Sun Sep 28 19:12:13 CEST 2008


I have a typo3 installation running since april 2007 at www.global-art.com

The websites has an event agenda that uses tt_news
Each day is a separate tt_news article with information for the whole day.

A "Latest" list in the sidebar shows the latest article, with the 
subheader cropped to 1000 characters. The subheader content is 
automatically copied from article body.

Until a week ago i was running Typo3 4.1.5 with tt_news 2.5.0 and this 
worked ok. I had an issue between the BE and Firefox 3 and decided to 
upgrade. Recommended steps included upgrading all FE plugins, so i did so.

Everything went ok, except that now subheader don't have HTML formatting 
when copied from body.


this is the relevant part of my tt_news conf

#tt_news

//clear subheader Wrap for Single and Latest view
plugin.tt_news.displayLatest.subheader_stdWrap.wrap = |
plugin.tt_news.displaySingle.subheader_stdWrap.wrap = |

//clear general wrap
plugin.tt_news.general_stdWrap >

// Now it is necessary to set the parseFunc for the RTE field:
plugin.tt_news.displaySingle.content_stdWrap.parseFunc < lib.parseFunc_RTE

# i added this line after updating, but got no effect
plugin.tt_news.displayLatest.subheader_stdWrap.parseFunc < lib.parseFunc_RTE


More information about the TYPO3-project-tt-news mailing list