Template ViewHelper <c:template>
ViewHelper that includes a SAV Charts template.
Go to the source code of this ViewHelper: TemplateViewHelper.php (GitHub).
Arguments
The following arguments are available for the template ViewHelper:
id
-
- Required
true
- Type
- string
Template id.
fileName
-
- Default
- ''
- Type
- string
File name containing the template
Examples
The following examples should be included in the "Templates" field of the "Fluid Parser" tab of the plugin.
With fileName attribute
<c:template id="1" fileName="EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/BarChart.fluid" />
Copied!
Child nodes
<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/BarChart.fluid
</c:template>
Copied!