Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • User documentation
  • FAQ
  • Altcraft glossary
  • Profiles and databases
  • Communication channels
  • Segmentation
  • Message templates
    • Working with message templates
    • Visual editor for email-template
      • Visual editor interface
      • Adding blocks
      • Elements and their settings
      • Custom blocks
      • Style manager
      • Layer manager
    • Template fragments
    • Image gallery
    • Content personalization
    • Creating tables based on array elements
    • Block editor for email template
    • Variables and Functions in Altcraft
    • Dynamic content in messages
    • Importing and exporting a message template
    • Importing a template from a third-party service
    • Exporting a template from Pixcraft
  • Campaigns
  • Automation scenarios
  • Market
  • Loyalty programs
  • Reports and analytics
  • Integrations
  • Weblayers
  • Settings
  • API requests: where to start
  • Changelog
  • library
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Message templates
  • Visual editor for email-template
  • Custom blocks
Documentation for version v72

Custom blocks

Save an entire section of the template as a custom block and then use that block over and over again. By the way, you can use it not only in the template where it was created, but also in any other.

What can be custom blocks? Any content that repeats from template to template. For example, the header or footer of a message.

How to create a custom block​

Option 1: Add source code​

In the right panel of the visual editor, go to the "Add blocks" section. Click "+ Add Block".

Enter source code of the fragment in the pop-up window and save the block.

The new custom block will be displayed after all available elements of the visual editor.

Option 2: Save the template container​

Select the group of elements you want to save. You can simply hover the cursor over the desired container in the template, or you can use the section "Layer Manager".

After you select the desired section, you'll see the button for calling the menu of container operations —  . Click the floppy disk icon    to save the block.

The new custom block will be displayed after all available elements of the visual editor.

How to add a custom block​

Select a custom block by clicking it, and then drag it to the part of the template you need. Let's get into practice.

Let's say we send emails to customers of the clothing store. Christmas is just around the corner, and we decide to give our subscribers a promotional code for a discount. This is how our template looks like:

Of course, the main part of the message has changed in compare with usual messages, but the header with the store logo and the footer with our contacts will remain the same as in the daily mailings. Fortunately, we have long since saved these elements as user blocks.

Let's add our custom blocks to the template.

Good job, the template is ready, and we saved a lot of time! (thumbs up)

Last updated on Apr 23, 2023
Previous
Elements and their settings
Next
Style manager
  • How to create a custom block
    • Option 1: Add source code
    • Option 2: Save the template container
  • How to add a custom block
© 2015 - 2025 Altcraft, LLC. All rights reserved.