[TYPO3] File creation date in filelinks

Eduard Renger eduard at renger.info
Sat May 27 02:52:41 CEST 2006


Hi,

I'm trying to insert the file creation date in a filelinks list. I have
dam_filelinks and css_filelinks installed.

Below is my TS setup. What happens is that rather than putting the actual
date in place of the marker ###FILECREATE### it puts the unix timestamp from
the database there. So for some reason it doesn't convert the timestamp to a
proper date.

Any suggestions on what I'm doing wrong or on how to solve this?


tt_content.uploads.20.layout{

	global=<div class="###LAYOUT###"><tr><p class="bodytext">Aantal bestanden:
###FILECOUNT###</p></tr><table><td>Type</td><td>Omschrijving</td><td>bestand
sgrootte</td><td>Datum gewijzigd</td></tr>###FILE###</table></div>

	file=<tr><td> ###ICON###</td><td><a href="###URL###" class="###CLASS###"
###TARGET###> ###TITLE###
</a></td><td>###FILESIZE###</td><td>###FILECREATE###</td></tr>

	fileSize{
		layout=(###SIZE### ###SIZEFORMAT###)
		char=none
		format=auto
		desc=b|kb|mb
		round=2
	}

	userMarker.dam{
		FILECREATE=date_cr,date_mod
	}
}

Thanks!
Eduard Renger
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.0/346 - Release Date: 23-5-2006




More information about the TYPO3-english mailing list