[TYPO3] Another date format issue
Stefan Aichholzer
stefan at aichholzer.name
Wed Aug 20 14:15:14 CEST 2008
Fixed it:
page.10.subparts.containers = CONTENT
page.10.subparts.containers {
table = tt_content
select{
where = colPos=0
andWhere.insertData=1
andWhere=uid={GPvar:faq}
andWhere.if.isTrue.data=GPvar:faq
}
renderObj = COA
renderObj.10 = TEXT
renderObj.10 {
field = date
date = d / m / Y
wrap = <p class="faq_date">Fecha: |</p>
}
renderObj.20 = TEXT
renderObj.20 {
field = header
wrap = <p class="faq_lnk">|</p>
}
renderObj.30 = TEXT
renderObj.30 {
field = bodytext
wrap = <p class="bodytext">|</p>
}
}
Guess I'm slowly becoming the Jedy ;)
Bas v.d. Wiel wrote:
> Stefan,
> Check the same TSRef chapter on stdWrap, you'll find a strftime item
> just below the section where you found 'date'.
>
> Bas
>
> On Wed, 2008-08-20 at 13:53 +0200, Stefan Aichholzer wrote:
>> Assume this:
>>
>> page.10.subparts.containers = CONTENT
>> page.10.subparts.containers {
>> table = tt_content
>> select{
>> where = colPos=0
>> andWhere.insertData=1
>> andWhere=uid={GPvar:faq}
>> andWhere.if.isTrue.data=GPvar:faq
>> }
>> }
>>
>> Is display something like this:
>>
>> 08/08/2009
>> The header
>>
>> The text
>>
>>
>> As that is the way it's stored. Now, is there a way to format that date
>> shown from the select above?
>>
>> As usual thanx a million!
>>
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> _______________________________________________
> 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