[TYPO3-german] Ganz einfache Frage zu tt_news..

Basti Baumann donillo at gmail.com
Tue Apr 17 08:44:46 CEST 2007


Bjoern Pedersen schrieb:
> Hallo
> 
> Ich habe bei mir im ts-setup folgendes, um andere Texte bei  more  zu
> setzen. Mit entsprechenden if's oder ifempty sollte sich da was
> basteln lassen.
> 
> 
> plugin.tt_news{ 
>  _LOCAL_LANG.de {
>     more = [weiterlesen...]
>     noNewsToListMsg= 
>   }
>   _LOCAL_LANG.en {
>    more= [read more....]
>  }
> 
> 
> Grüße, 
>  Björn

Hi,

das nennt sich condtional more Link und steht sogar in der tt_news 
Anleitung ;)

Conditional ”more”-Link

With one more line of Typoscript the alternative “more” link can be made 
conditional – means: it will show up when the field “bodytext” contains 
something.

Example:

plugin.tt_news.displayList.subheader_stdWrap {
   append = TEXT
   append.data = register:newsMoreLink
   append.wrap = <span class=”myclass”>|</span>
   append.if.isTrue.field = bodytext
}

Greets Basti


More information about the TYPO3-german mailing list