[TYPO3-german] Viehelper für Ausgabe der Endung einer Datei
Philipp Holdener
philipp.holdener at me.com
Wed Nov 5 10:03:34 CET 2014
Am 05.11.14 09:22, schrieb bernd wilke:
> <v:var.set name="downloadFileSize">
> <f:cObject
> typoscriptObjectPath="lib.filesize">{dce:typolinkUrl(parameter:'{download.datei}')
> -> v:format.trim(characters: '/') -> v:media.size()}</f:cObject>
> </v:var.set>
>
> in Verbindung mit:
>
> lib.filesize = TEXT
> lib.filesize {
> current = 1
> bytes = 1
> bytes.labels = " Bytes| KB| MB| GB"
> }
hallo Bernd
Mit dem bekomm ich im FE folgende Ausgabe:
"Cannot determine size of "". File does not exist or is a directory. Bytes"
Gruss
Philipp
More information about the TYPO3-german
mailing list