What are 'Templates using Block Parameters' in Agillic
Before you can use block parameters you need to have a template developed that utilizes these functionalities. You can read more about the development of templates using block parameters here
When a template developer sets up a Content Block with block parameters, it enables you to do changes to a Content Block that wouldn't otherwise be possible. This can include being able to easily change the colour of a button by using a colour picker or by being able to change the background image in your Content Block.
Below is a list of aspects that are commonly facilitated by block parameters:
- Images and properties
- Background images
- Text and properties
- Colors
- Padding and margin
- Buttons and links
- Conditions on Show / Hide functions
When working with this type of Content Block, you can only change the layout through the Content Block's properties. Therefore the standard HTML editor will automatically be disabled for the specific content the parameters are affecting.
You can view the block parameters for the content by hovering over the content block and clicking the 'i' icon in the toolbar. This means that except for text editing you make the changes to the block in the box on your left.
The available options in your Content Block depend on how your template developer has developed your template. The template code defines what is available to the configurator.
A Content Block set up with Parameters used to easily change the layout of the Content Block - This includes showing or hiding specific elements in the Content Block, changing the image and editing the Call to action button
Conditions on Show/hide in block parameters
Conditional html expands further on the possibilities working with block parameters. It enables you to show or hide specific HTML elements in the block based on conditions.
For instance this feature will allow you to show a splash image with discount text only for VIP members in an email without having to create 2 different emails.
Conditional html can only be used on blocks of one of the following types:
- One-To-Many
- Global Data Table
- Data Lookup
- Person to Person lookup
A Content block of type One-To-Many, using conditions on Show/hide for specific elements in the template
Promotions in block parameters
When you want to use a Promotion in a Content Block using block parameters, you will need to create your Promotion fields as LINK, IMAGE, HTML or TEXT type for them to function.
Learn how to insert a Promotion Block here.
Template developers can read more about template development in our Developers Portal here.