About findChild
Snippet that returns a property of a child of the current resource selected by specifying a property+value pair.
Information
Released
January 17, 2011
Supported Database
MySQL
License
MIT
Supported Versions
2.0 - Current
Downloads
1,698
Instructions
Install using Package Manager.
To use:
[[findChild? &property=`property of child` &value=`value of property` &return=`property to return`]]
&property—The property of the child with the &value.
&value—The value stored against the property of the child.
&return—The property that you want returned from the child.
Examples:
[[findChild? &property=`pagetitle` &value=`News` &return=`id`]] — Return the id of the child of this resource with the pagetitle 'News'.
[[findChild? &property=`id` &value=`3` &return=`url`]] — Return the url of a child of this resource with the id '3'.