Skip to content

Instantly share code, notes, and snippets.

@dfeyer
Created August 22, 2013 15:09
Show Gist options
  • Save dfeyer/6308453 to your computer and use it in GitHub Desktop.
Save dfeyer/6308453 to your computer and use it in GitHub Desktop.
How to get a parent page in the current rootline with a defined property set with TypoScript2 / EEL for TYPO3 Neos. The current EEL expression take all the parents nodes of the current node, with the property backgroundImage setted, add the current node, filter based on backgroundImage content, get the last Node, and return the property. Complex…
${q(node).parents('[backgroundImage]').add(q(node)).filter('[backgroundImage]').last().property('backgroundImage')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment