[TYPO3-ttnews] Crop in tt_news

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Jun 13 10:54:56 CEST 2006


Susanne Moog schrieb am 11.06.2006 10:23:

> I am encountering a little problem with the crop property. I use
> RTEHtmlArea to write my news and I have defined classes there for
> styling the text nicely. BUT: If I have the crop enable I often get
> something like this:
>
> "This is just an example text
> 
> <p..."
> 
> Of Course, I don't want my Style-Tags to be cropped, but as far as I can
> see till now, there is no way to get round the problem. Do I see this
> right?

I think that's the case. You'll need to remove the HTML before cropping.
But don't you have crop enabled just for the teaser/latest-news text? Do
you really need styling there? If not, try something like (for "latest"):

plugin.tt_news.displayLatest.subheader_stdWrap.stripHtml = 1


Cheers,
Ernesto



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