Sponsored Link

include

include tag will parse the tag to include other templates from the template.
Nest of include tag is not possible. (It will be ignored)

Syntax

{{ @include template_file }}

PHP

$assign['sample_sub1_echo1'] = 'sub-template1';

Template

Template :
{{ @include SubTemplate.tpl }}

SubTemplate.tpl :
{{ sample_sub1_echo1 }}

Result

sub-template1