Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sub-templates provide Master templates provide a way for you to organize complex code generation processes from a single template. Just as subroutines in a computer program let you call bits of logic from a main program flow, sub-templates let master templates let you call bits of code generation logic from a main template.

To use a sub-templateMaster templates, you must first register the sub-master template in  in the parent template. You can then merge properties from the sub-master template into  into the parent template, copy properties from the parent template to the sub-template, set properties in the sub-master template, and render the sub-master template.

 

Here's a video tutorial for more on Sub-Master Templates!

Widget Connector
width480
urlhttp://www.youtube.com/watch?v=7Qrjo-Gj0Xc
height360