Skip to content


joshrcook edited this page Sep 30, 2014 · 1 revision

<r:yield />

This is a tag specific to layouts. It indicates where the template will insert it's data.

See also: <r:content_for /> & <r:content />

attribute options

name="content-name" - This allows you to specify which content you are yielding.


<!-- in layout file -->
<r:yield name="page_js">
	<!-- this is where the content will be displayed -->
	<r:content />

<!-- in template file -->
<r:content_for name="page_js">
	<!-- Your content goes here -->
You can’t perform that action at this time.