[TYPO3-german] tt_news, Untertitel abschneiden...
JoH asenau
info at cybercraft.de
Sat Mar 3 19:25:27 CET 2007
> bei tt_news wird in List und Latest der Text nach einer bestimmten
> Länge abgeschnitten.
> Wenn man im Flexform "Untertitel abschneiden nach... Zeichen" NICHTS
> einstellt, wird der Text am Wortende abgeschnitten und drei
> Pünktchen... angefügt, wie sich das gehört.
>
> Stellt man jedoch eine Anzahl von Zeichen ein, wird mitten im Wort
> abgehackt und KEINE Pünktchen... angefügt.
>
> Ein Upgrade auf die ganz neue Version 2.5.0 (28.02.2007) brachte
> keinen Unterschied.
TSref sagt:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/5/1/
stdWrap =>
crop
Crops the content to a certain length
Syntax: +/- (chars) = from left / from right | [string] | [boolean: keep
whole words]
Examples:
20 | ... => max 20 characters. If more, the value will be truncated to
first 20 chars and prepended with "..."
-20 | ... => max 20 characters. If more, the value will be truncated to last
20 chars and appended with "..."
20 | ... | 1 => max 20 characters. If more, the value will be truncated to
last 20 chars and appended with "...". If the division is in the middle of a
word, the remains of that word is removed.
Uses "renderCharset" for the operation.
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-german
mailing list