[TYPO3-ttnews] crop and [more]

Peter Klein peter at umloud.dk
Wed Apr 4 15:17:49 CEST 2007


"Thomas Hümmler" <listnews.huemmler at onlinehome.de> skrev i en meddelelse 
news:mailman.114002.1175554136.21067.typo3-project-tt-news at lists.netfielders.de...
> Hello Peter,
>
> * Peter Klein wrote on [02.04.07 21:21]:
>> Hi Thomas. Try this (untested)
>>
>> -- cut --
>> subheader_stdWrap {
>>                crop = 270 | &nbsp;...<span
>> class=morelink>{register:newsMoreLink}</span> | 1
>>                insertData = 1
>> }
>> -- cut --
>
> Great. That is exactly what I was searching for. Thank you. Now
> arises just another problem on my way: The [more]-link appears
> in a news article, which consists only of bodytext or of an
> subheader and which is longer than 270 chars. That's fine.
>
> But if a news article consists of a shorter subhead (< 270 chars) plus
> bodytext, there is no link. Right now I habe two workarounds: First to
> crop at about 150 chars, but that doesn't look good in the LATEST-view.
> Second, and that is a situation, I can hardly explain to the editors,
> to put the subhead in the bodytext and wrap an <h>-Tag around. How can
> I manage this situation? I have tried something with general_stdWrap
> and content_stdWrap, but failed. Has somebody any ideas?

You could make the header of the newsitem a link, as that would be present 
in all newsitems.

-- 
Peter Klein/Umloud Untd 




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