Custom Tags not working in Random Block content

jhall95

Member
I've created 2 custom campaign tags:

DAYS_UNTIL_2
{% set difference = date(date('21-1-20')).diff(date('now'|date('Y/m/d'))) %}{% set leftDays = difference.days %}{{leftDays}}

DAYS_UNTIL
{% set difference = date(date('21-1-26')).diff(date('now'|date('Y/m/d'))) %}{% set leftDays = difference.days %}{{leftDays}}

Which work fine in most templates, but when i try and use

[RANDOM_CONTENT: BLOCK: N1 | BLOCK: N2]

Using [CCT_DAYS_UNTIL] and [CCT_DAYS_UNTIL_2] no longer works when inside the blocks.

Are there any good workarounds for this?
 
@jhall95 - I can confirm the tags were never meant to work in that area, but now we made it work, so in the next version, you will be able to have this working just fine.
 
Back
Top