[TYPO3] Format header date

Stefan Aichholzer stefan at aichholzer.name
Wed Aug 20 13:12:41 CEST 2008


 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
>
>


-- 
Stefan Aichholzer
http://aichholzer.name
stefan at aichholzer.name
(+34) 691.477.394



More information about the TYPO3-english mailing list