[TYPO3-german] field:starttime per typosript auslesen
bernd wilke
t3ng at bernd-wilke.net
Thu Sep 19 11:33:50 CEST 2013
Am 19.09.13 10:58, schrieb Christian Hager:
> Hallo Leute,
>
> ich möchte gerne von aufgelisteten Seiten das jeweilige "starttime"
> anzeigen lassen.
>
> Ich habe mir dies so vorgestellt:
>
> lib.list=COA
> lib.list{
> 10=HMENU
> 10.special=directory
> 10.special.value=12
> 10.1=TMENU
> 10.1{
> wrap=<sectionid="list"><olreversed>|</ol></section>
> NO{
> wrapItemAndSub=<li>|</li>
> stdWrap.append=COA
> stdWrap.append{
> 10=TEXT
> 10.value=<aid="list-description">{field:description}</a>
> 10.insertData=1
>
> 20=TEXT
> 20.value=<aid="list-publish">{field:starttime}</a>
> 20.insertData=1
> }
> }
> }
> ### CLEARING ###
> 160=HTML
> 160.value=<brclass="clear"/>
> }
>
>
> Besteht die Möglichkeit das ausgegebene Datum zu formatieren? %d.%m.%Y
>
stdWrap.date oder stdWrap.strftime
aber den wrap bitte als wrap:
20 = TEXT
20 {
field = starttime
date = d.m.Y H:i:s
wrap = <a id="list-publish">|</a>
}
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-german
mailing list