Skip to content

Instantly share code, notes, and snippets.

@stafast
Last active November 23, 2017 19:03
Show Gist options
  • Select an option

  • Save stafast/89a8424b70df487fbf02 to your computer and use it in GitHub Desktop.

Select an option

Save stafast/89a8424b70df487fbf02 to your computer and use it in GitHub Desktop.
TYPO3 Get Content Elements by UID in Fluid (Tags: fluid dce ce inhaltselment cObject f:oObject )
<f:cObject typoscriptObjectPath="lib.getContentElementsByUid">{myUID}</f:cObject>
lib.getContentElementsByUid = RECORDS
lib.getContentElementsByUid {
tables = tt_content
source.current = 1
source.wrap = |
dontCheckPid = 1
}
@meNeither
Copy link

Shouldn’t it be <f:cObject typoscriptObjectPath="lib.getContentElementsByUid">{myUID}</f:cObject>?

@stafast
Copy link
Author

stafast commented Nov 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment