Skip to content

Instantly share code, notes, and snippets.

@posixpascal
Created January 26, 2015 11:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
lib.lastUpdatedPages = CONTENT
lib.lastUpdatedPages {
table = tt_content
select {
orderBy = tstamp DESC
max = 10
# v-
pidInList = root, -1, this
recursive = 100
}
renderObj = COA
renderObj {
10 = TEXT
10 {
field = header
typolink.parameter.field=pid
typolink.parameter.stdWrap.dataWrap=|#{field:uid}
wrap = <li>|
}
}
}
page = PAGE
page.10 < lib.lastUpdatedPages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment