Skip to content

Instantly share code, notes, and snippets.

@romac
Created November 9, 2010 23:32
Show Gist options
  • Select an option

  • Save romac/670042 to your computer and use it in GitHub Desktop.

Select an option

Save romac/670042 to your computer and use it in GitHub Desktop.
A recursive TypoScript getText()
// This will get you the title of the page identified by the uid supplied in GET/POST variable "page".
temp.foo = TEXT
temp.foo {
dataWrap = db:pages:{GP:page}:title
wrap3 = {|}
insertData = 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment