[TYPO3-dam]  dam_filelinks date marker
    Kai Laborenz 
    laborenz at css-praxis.de
       
    Thu Feb 15 20:29:30 CET 2007
    
    
  
hi there.
I would like to add a usermarker for output of creationdate. therefor I 
used the code example from dam_filelinks extension. it works fine except 
for one thing: the date is displayed as unix timestamp. I tried around 
using the strftime conversion with no success. why is there no 
###DATE### marker anyway? thanks for your help.
tt_content.uploads.20 {
    layout {
      userMarker{
        dam{
# new marker (reads creationdate from table)
FILECREATE=date_cr
               }
                       }
       global = ###FILE###<div class="divider-small"> </div>
       file = <h4><a href="###URL###" class="###FILEEXT###" >###TITLE### 
  <span class="info"> (###SIZE### ###SIZEFORMAT###, ###FILEEXT### 
###FILECREATE###)</span> <img 
src="fileadmin/offshore/templates/img/icon_link_###FILEEXT###.gif" 
alt="###FILEEXT###-Dokument" /></a></h4>
       fileSize{
	 layout= ###SIZE### ###SIZEFORMAT###
	 char=none
	 format=auto
	 desc=Bytes|kB|MB
	 round=2
       }
    }
}
even better would be a marker that outputs the age of the listed documents.
thanks alot for your help.
    
    
More information about the TYPO3-project-dam
mailing list