[TYPO3-german] tt_news, Untertitel abschneiden...
Bernd Hückstädt
akademie at joytopia.net
Sun Mar 4 09:31:01 CET 2007
Am 03.03.2007 um 19:25 schrieb JoH asenau:
>> 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
Danke Joey,
werde mich da mal reinarbeiten.
Ich denke dass das bei tt_news schlichtweg ein Bug ist. Schließlich
geh tes ja, wenn man keine maximale Zeichenlänge angibt.
Wenn man es über crop lösen kann... um so besser.
Liebe Grüße
Bernd
More information about the TYPO3-german
mailing list