[TYPO3-english] last update date of current page (not parent)

bernd wilke t3ng at bernd-wilke.net
Mon Feb 9 14:57:02 CET 2015


Am 09.02.15 um 14:07 schrieb Katja Lampela:
> Hi,
>
> In installation TYPO3 6.2.9 I have a column whose content is inherited
> into subpages with
>
> blah...
> variables {
> col4 < styles.content.get
>            col4.select.where = colPos=4
>            col4.slide = -1
> }
>
> I want to show the last update date in that "sliding" area. So I put
> some typoscript into it (with typoscript content element):
>
> lib.lastUpdate = TEXT
> lib.lastUpdate.data = page:SYS_LASTCHANGED
> lib.lastUpdate.strftime = %d.%m.%Y
>
> But this shows the parent page's update date, not current page's. How
> can I make the typoscript check current page's SYS_LASTCHANGED field?
>

you have to insert the update date into an own area outside the sliding 
column.

maybe something like:

:
variables {
   col4 = COA
   col4 {
     10 < styles.content.get
     10.select.where = colPos = 4
     10.slide = -1

     20 < lib.lastUpdate
   }
   :
}
:

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list