Master templates provide Sub-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, master sub-templates let you call bits of code generation logic from a main template.
To use a Master templatessub-template, you must first register the master sub-template in the parent template. You can then merge properties from the master sub-template into the parent template, copy properties from the parent sub-template to to the sub-template, set properties in the master sub-template, and render the master sub-template.
Here's a video tutorial for more on Master Sub-Templates!
Widget Connector | ||||||
---|---|---|---|---|---|---|
|