Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v73
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
  • Extra
    • System page customization
    • Send Message ID
    • Инструкция по миграции истории в ClickHouse
    • Instructions for migrating history to ClickHouse
    • Utility for importing push subscriptions to Firebase project
    • Utility for importing push subscriptions to Firebase project
  • Processing HTTP/HTTPS traffic
  • Administrator API
This is documentation for Altcraft Platform v73. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Extra
  • System page customization
Documentation for version v73

System page customization

Custom template of the unsubscribe page​

Tracking page templates are located in the directory ak/static/trk/. If you need to reassign them, you need to put the modified templates in this directory and add custom. to the file name.

$ cd /opt/akd
$ cp ak/static/trk/unsubscribe.html ak/static/trk/custom.unsubscribe.html
$ nano ak/static/trk/custom.unsubscribe.html
...
$ ./akd onerestart procactions

The templates will be applied only when you restart the process procactions.

Description of the pages​

TemplateMeaning
unsubscribe.htmlPage after unsubscribing, if it isn't specified in the message
deprecated.htmlThe page of the expired web message
not_found.htmlPage for invalid links on tracking

Custom notification templates​

Custom notification templates are located in the directory templates/email/<CountryCode>/. As they will be overwritten during the upgrade, you can create files for them that override them. CountryCode determines the template language. If the language is not found, the default value will be EN (English).

You need to add custom. to the file name in order to define such a file:

$ cd /opt/akd
$ cp templates/email/RU/password.html templates/email/RU/custom.password.html
$ nano templates/email/RU/custom.password.html
...
$ ./akd restart --job_server

The templates will be applied only when you restart the process akd.

Template description​

TemplateLevelMeaning
content.jsonall
Applies to all templates, contains headers, subject and reply-to addresses of letters
template_all.htmlallApplies to all templates
welcome.htmlaccount, adminAppears when the user with access is created
password.htmlaccount, adminPassword change by user or administrator
complains.htmlaccountIn case of exceeding the rates for complaints
hardbounces.htmlaccountIn case of exceeding the hardbounce indicators
softbounces.htmlaccountIn case of exceeding the softbounce indicators
report_weekly.htmlaccountWeekly report of the user
report_daily.htmlaccountDaily report of the user
sendlimit.htmlaccountIn case of exceeding the limit (tariff) for sending
leadslimit.htmlaccountIn case ofexceeding the limit (tariff) for the amount of data
suspended.htmlaccountIn case the account is inactive in the admin panel
sender_problem.htmladminDuring the process of setting up notification for sender in the administration panel

Customization of form pages​

All template files are located in the platform installation directory under /templates/form/v1/EN and /templates/form/v1/RU. Files in the .tpl format contain form templates and components used within those templates. The .html format contains standalone tables.

FileDescription
button.tplTemplate for displaying buttons. Controls their appearance and placement in the form.
content.jsonFile containing the form's data and structure — includes field descriptions, transition logic, texts, settings, etc.
user_code.tplA custom template designed to override the default form template. It is used to insert custom code into the <head>, <body>, and <footer> sections of the page. It also allows wrapping the main form content with additional HTML markup.
error.htmlPage displayed when an error occurs while loading the form or if the link is invalid.
final.tplTemplate for the final page shown to the user after successful form submission.
form_fill.tplTemplate for the main form page where the user fills in the fields.
form.tplMain container template for the form. Includes basic HTML layout, structure, and links to other templates.
hidden.htmlDisplayed when the form is hidden from public access. Usually contains a message like "Form unavailable".
redirect.tplTemplate for the redirection page.

Similar to other config files, you can create a copy of any of them, rename it to "custom.<original_name>", and use it instead of the original configuration.

Static tracking files​

In some cases it can be useful to place static files on the tracking — the necessary files can be placed in the directory ak/static/trk/public/. This way, they will be available at the absolute path /static/ of your tracking. For example, this directory contains the cat.html file.

Last updated on Jun 5, 2020
Previous
Extra
Next
Send Message ID
  • Custom template of the unsubscribe page
    • Description of the pages
  • Custom notification templates
    • Template description
  • Customization of form pages
  • Static tracking files
© 2015 - 2025 Altcraft, LLC. All rights reserved.