[TYPO3-german] stdWrap.substring und wrap

Peter Linzenkirchner liste at lisardo.de
Wed Jun 18 10:22:41 CEST 2014


Hallo Christof, 

das hier
10.stdWrap.crop = 200 | ... | 1

funktioniert nicht? 

("max 200 characters. If more, the value will be truncated to the first 200 characters and prepended with "...". If the division is in the middle of a word, the remains of that word is removed. Uses "renderCharset" for the operation.")

Gruß
Peter


Am 18.06.2014 um 10:10 schrieb HC-Media <office at hc-media.org>:

> 
> 
> Liebe Liste, 
> 
> ich habe eine Frage bezüglich Text in Zusammenhang mit
> substring und wrap.
> 
> Anforderung: Text nach X Zeichen abschneiden und wenn
> der Text länger ist als X Zeichen, danach noch "..." anfügen.
> 
> Code:
> 10 =
> TEXT
> 10.value = Mein Text
> 10.stdWrap.substring = 0,200
> 10.stdWrap.wrap =
> |... 
> 
> Der Wrap sollte in diesem Fall aber nicht ausgeführt werden, da der
> Text weniger als 200 Zeichen hat. 
> 
> Wie kann ich dies denn
> realisieren?
> 
> LG
> Christof
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

--
Xing: http://www.xing.com/profile/Peter_Linzenkirchner
Web: http://www.typo3-lisardo.de
Facebook: http://tinyurl.com/lisardo-multimedia



More information about the TYPO3-german mailing list