Skip to content

Instantly share code, notes, and snippets.

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