Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.
27 changes: 27 additions & 0 deletions pages/09.Channels/02.Emails/01.Managing emails/docs.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,33 @@ Your date will displayed as human reading format taken from Configuration > Sys
- Default format for date only
- Default Time Only Format

### Today token

Token `{today}` display actual date time to the email. By default, you can use predefined formats after `|` symbol:
Comment thread
kuzmany marked this conversation as resolved.
Outdated

- `{today}` same as `{today|datetime}`
Comment thread
kuzmany marked this conversation as resolved.
Outdated
- `{today|date}`
- `{today|time}`

Your date will display as human reading format taken from Configuration > System Settings
Comment thread
kuzmany marked this conversation as resolved.
Outdated

- Default format for date only
- Default Time Only Format

#### Custom format

Returns the formatted date string based on PHP https://www.php.net/manual/en/datetime.format.php
Comment thread
kuzmany marked this conversation as resolved.
Outdated

- `{today|Y-m-d H:i:s}`
- `{today|d. m. Y}`

#### Relative date

You can use relative date after second `|` symbol:
Comment thread
kuzmany marked this conversation as resolved.
Outdated

- `{today|datetime|+1 month}`
- `{today|d. m. Y|+1 day}`

## Tracking Pixel

The tracking pixel image is usually appended to the email message, if enabled. If needed, one could insert the tracking pixel image with the special token `{tracking_pixel}` at any place other within the text body. Beware that it should not be inserted directly after the opening `<body>` because this prevents correct display of pre-header text on some MUAs.
Expand Down
4 changes: 4 additions & 0 deletions pages/11.Components/04.Pages/01.Managing Pages/docs.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ The page builder provides quick and convenient access to assets, other landing p

Since Mautic 2.7.0, the builder will let you drag the predefined content sections from the right hand toolbar and drop them to the position you choose. It's possible to select from layout of 1, 2 or 3 columns. The existing sections can be re-ordered or removed.

### Today token

[Same like for emails][managing-emails].
Comment thread
kuzmany marked this conversation as resolved.
Outdated

#### Code Mode

[Go to the Code Mode docs][code-mode].
Expand Down