35. Inspiring people to
share
Working with your Nodes
EEL & FlowQuery
page = ${q(site).find(‘[instanceof My.Site:ContactPage]’).get(0)}
pageDepth = ${q(this.page).parents().count()}
hasChildren = ${q(this.page).children().count() > 0}
phoneNumber = ${q(this.page).property(‘phoneNumber’)}
36. Inspiring people to
share
Working with your Nodes
EEL & FlowQuery
person = ${q(node).property(‘productOwner’)}
@override.person = ${this.person}
name = ${String.trim(person.property(‘firstname’) + ‘ ‘ + person.property(‘lastname’))}
profileImage = TYPO3.Neos:ImageUri {
asset = ${q(person).property(‘profileImage’)}
maximumWidth = 120
maximumHeight = 120
allowCropping = true
}