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

Žiga Dolhar ziga at dolhar.si
Thu Dec 23 15:37:21 CET 2010


Hello Nicolas,

I hope you had managed to remedy this issue in the last two years :). 
I'm having the same problem (subheader having removed all 
html-formatting - e.g. <p> and <i> elements) and would love to learn 
about your soulution.

Yours, Ziga D.

On 28.9.2008 19:12, Nicolas Cohen wrote:
> 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