You can use custom parameters, when you edit the templates.
You will be able to pass custom data to the template. There are custom parameters for the set and for the bundles.
Tab "General":
Tab "Bundles":
Usage
Use $set.params
to get general parameters of the set in any template.
Parameters for bundles are available in the following templates:
- Bundle template
- Bundle item template
- Bundle single item template
- Bundle total block template
You can access them via a variable $bundle.settings.params
.
Examples
General custom params (output of the additional title):
{if !empty($set.params.title)} {$set.params.title|escape} {/if}
Bundle custom params (output of the image):
{if !empty($bundle.settings.params.image)} <img src="{$bundle.settings.params.image|escape}"> {/if}