Skip to content

Instantly share code, notes, and snippets.

@posixpascal
Created January 26, 2015 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save posixpascal/c415e8ce464f756b5f43 to your computer and use it in GitHub Desktop.
Save posixpascal/c415e8ce464f756b5f43 to your computer and use it in GitHub Desktop.
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