[TYPO3] Format header date
    Tomas Mrozek 
    mail at cascaval.com
       
    Wed Aug 20 12:12:55 CEST 2008
    
    
  
> This only retrieves the header and makes a link, this works fine, what I
> want to know is if there's a way to get the date here as well and place it
> above the link I just created.
subparts.containers = CONTENT
subparts.containers {
   table = tt_content
   select {
     pidInList = this
     orderBy = sorting
     where = colPos=0
   }
   renderObj = COA
   renderObj.10 = TEXT
   renderObj.10 {
     field = [whatever date field you are talking about]
     wrap = |<br>
   }
	
   renderObj.20 = TEXT
   renderObj.20 {
     field = header
     wrap = |<br>
     typolink.parameter.field = pid
     typolink.parameter.dataWrap = |
     typolink.additionalParams.insertData = 1
     typolink.additionalParams = &faq={field:uid}
     typolink.no_cache = 1
     if.isTrue.field = header
   }
}
Tomas Mrozek
    
    
More information about the TYPO3-english
mailing list