[TYPO3] Format header date

Bas v.d. Wiel j.a.m.v.d.wiel at tue.nl
Wed Aug 20 13:37:29 CEST 2008


See TSRef, section on stdWrap -> date. That should fix it for you.

Bas

On Wed, 2008-08-20 at 13:12 +0200, Stefan Aichholzer wrote:
> Correction, it does work, I had a typing bug. Thank you!
> 
>  Now the other thing, can this date be formated, in the DB typo3 inserts
> the time in seconds: like 1219224206
> 
>  Do I need to make a function to format it the way I want?
> 
>  Thank you
> 
> 
> Tomas Mrozek wrote:
> >> 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
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> >
> 
> 


More information about the TYPO3-english mailing list