[TYPO3] related news subheader

Richard Smartt richard at qsnetwork.com
Wed Mar 7 11:37:15 CET 2007


I am trying to find a solution that allows the leading text of related
news items in the single view to crop after a given number of
characters.

Page 47 of the tt_news manual offers the code below, which I have been
successfully including in extension templates for each page on which 

I want this to be the case. However, when I apply this as a general
setting for all related items the single view in the main template, it
crops

not just related news items, but every article in the list view. Can
anyone suggest where to make this setting so that it just applies to
related news?

 

plugin.tt_news.displayList {

      date_stdWrap.strftime= %A %d %B %Y

      subheader_stdWrap {

            crop = 55 | ... | 1

            ifEmpty.field = bodytext

      }

      image.file.maxW = 65

      image.file.maxH = 65

}

 

Thanks in Advance

R. Smartt

 

 

Richard Smartt

Content Management Specialist

QS Quacquarelli Symonds Limited

+ 44 (0)20 7284 7228  

 

 



More information about the TYPO3-english mailing list