Created
January 18, 2014 22:07
-
-
Save modmedia/8497362 to your computer and use it in GitHub Desktop.
Mura parent scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- 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