Skip to content

Instantly share code, notes, and snippets.

@modmedia
Created January 18, 2014 22:07
Show Gist options
  • Save modmedia/8497362 to your computer and use it in GitHub Desktop.
Save modmedia/8497362 to your computer and use it in GitHub Desktop.
Mura parent scope
<!--- Get the parent of a page --->
#$.content().getParent()#
<!--- Get the Paren't title --->
#$.content().getParent().getTitle()#
<!--- Get the Parent's image --->
#$.content().getParent().getImageURL('large')#
<!--- You could also simply set the parent in a variable and grab the objects accordingly --->
<cfset parent=$.content().getParent()>
#parent.getTitle()#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment