Jon_Wright

Jon_Wright

Contact Me
Online Status
Offline
Date Last Visited
‎12-21-2022 11:17 AM
Level 4
Joined the community 23-01-2018
Rank Icon Level 4
  • Re: Email Templates change two values with one boolean

    You could probably do something using a List variable with values ltr,rtl in the template and then use that to change the value for the direction attribute e.g. https://mjml.io/try-it-live/L4aTkYWjm But depends how you want to display on smaller devices also

    image_type
    Discussions
    951 1 0
  • solved badge Re: Date time formats in Velocity script

    Great - thanks!

    image_type
    Discussions
    5092 0 0
  • solved badge Re: Date time formats in Velocity script

    Thank you (again) Sanford! So convert to UTC then display in Europe/London.Just 1 thing, in your example you set:#set( $ISO8601DateTimeUTC = "yyyy-MM-dd'T'HH:mm:ss" )Without a Z, is that an omission? It seems to work both with and without, so I'm guessing this is a rare case of Velocity being a bit...

    image_type
    Discussions
    5097 0 2
  • solved badge Date time formats in Velocity script

    HiI'm working with date times in Velocity and struggling to get a date to display in the correct format. I have an incoming date string in the format: '2023-04-04T13:00:00Z'. So the incoming time is 1300 UTC which is 1400 BST I'm using @SanfordWhiteman examples from here: https://blog.teknkl.com/vel...

    image_type
    Discussions
    5104 0 4
  • solved badge Re: Overlaying text on top of a header/banner image in email - is it p...

    Totally possible in HTML by setting a background image, but have to allow for how image appears on mobile vs desktop. Also how messages of different length might appear. But super quick example in MJML to get you started: https://mjml.io/try-it-live/0mCBJ2G3C Can play around with the section attribu...

    image_type
    Discussions
    2421 1 1
  • Re: Velocity script tokens do not work on programs created via API

    So further updated on this if anyone is interested, it seems script tokens do work on a program cloned via the API, but not when the email is within a campaign folder... And a further update to my update. It's not only script tokens that seem to be affected, simple text tokens also don't render when...

    image_type
    Discussions
    2009 0 0
  • Re: Velocity script tokens do not work on programs created via API

    Hi @SanfordWhiteman - just got around to testing this but seems script tokens do work when creating a new program via the API

    image_type
    Discussions
    2040 0 0
  • Re: Velocity script tokens do not work on programs created via API

    Hi Sanford - that was actually cloning via API. I thought it may have been related to fact I was cloning an event program to be a child of another event program. But also tested a clone which wasn't child program and script tokens still didn't work, that was both new and existing script tokens on th...

    image_type
    Discussions
    2066 0 3
  • Velocity script tokens do not work on programs created via API

    Hi Seem to have stumbled on another velocity script issue in that script tokens don't appear to work on programs created via the API. There's no error, just seems to ignore the token(s) completely, although inherited script tokens do still appear to work, but that's not much help in the case I'm usi...

    image_type
    Discussions
    2094 0 5
  • Changes to way Velocity script works in Preview mode

    Hi Just wondering if anybody else has noticed some changes to way Velocity script renders emails in preview mode: 1. It seems to display a 'default' version of the email even when no contact has been selected in the preview, I'm sure it used to only render when a person was selected in the 'View by'...

    image_type
    Discussions
    1362 0 2
Sort By
  • Give Back 50 Give Back 50 Earned on 10.19.22 Earned by 176 people Select to learn more
  • Applaud 5 Applaud 5 Earned on 10.19.22 Earned by 1842 people Select to learn more
  • Springboard Springboard Earned on 8.30.22 Earned by 210 people Select to learn more
  • Boost 10 Boost 10 Earned on 8.24.22 Earned by 710 people Select to learn more
  • Affirm 5 Affirm 5 Earned on 1.28.22 Earned by 152 people Select to learn more
  • Boost 5 Boost 5 Earned on 1.06.22 Earned by 1228 people Select to learn more
  • Ignite 10 Ignite 10 Earned on 11.16.21 Earned by 296 people Select to learn more
  • Affirm 3 Affirm 3 Earned on 10.20.21 Earned by 214 people Select to learn more
  • Boost 3 Boost 3 Earned on 6.25.21 Earned by 1809 people Select to learn more
  • Affirm 1 Affirm 1 Earned on 3.23.21 Earned by 714 people Select to learn more
  •  Give Back 25 Give Back 25 Earned on 3.02.21 Earned by 332 people Select to learn more
  • Validate 1 Validate 1 Earned on 2.08.21 Earned by 687 people Select to learn more
  • Give Back 5 Give Back 5 Earned on 2.08.21 Earned by 1285 people Select to learn more
  • Ignite 5 Ignite 5 Earned on 2.08.21 Earned by 662 people Select to learn more
  • Give Back 3 Give Back 3 Earned on 2.08.21 Earned by 1979 people Select to learn more
  • Give Back 10 Give Back 10 Earned on 2.08.21 Earned by 719 people Select to learn more
  • Ignite 3 Ignite 3 Earned on 2.08.21 Earned by 1175 people Select to learn more
  • Boost 1 Boost 1 Earned on 2.08.21 Earned by 4000 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 2.08.21 Earned by 4372 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 2.08.21 Earned by 4274 people Select to learn more
  • Ignite 40 Ignite 40 Earned by 42 people Select to learn more
  • Give Back 600 Give Back 600 Earned by 17 people Select to learn more
  • Give Back 100 Give Back 100 Earned by 108 people Select to learn more
  • Publish 50 Publish 50 Earned by 4 people Select to learn more
  • Ignite 50 Ignite 50 Earned by 30 people Select to learn more
  • Give Back 200 Give Back 200 Earned by 57 people Select to learn more
  • Affirm 100 Affirm 100 Earned by 14 people Select to learn more
  • Boost 100 Boost 100 Earned by 121 people Select to learn more
  • Applaud 500 Applaud 500 Earned by 16 people Select to learn more
  • Publish 60 Publish 60 Earned by 4 people Select to learn more
  • Engage 100 Engage 100 Earned by 3 people Select to learn more
  • Ignite 60 Ignite 60 Earned by 24 people Select to learn more
  • Give Back 300 Give Back 300 Earned by 41 people Select to learn more
  • Validate 250 Validate 250 Earned by 3 people Select to learn more
  • Publish 70 Publish 70 Earned by 4 people Select to learn more
  • Publish 90 Publish 90 Earned by 3 people Select to learn more
  • Give Back 500 Give Back 500 Earned by 20 people Select to learn more
  • Affirm 500 Affirm 500 Earned by 4 people Select to learn more
  • Boost 500 Boost 500 Earned by 23 people Select to learn more
  • Publish 80 Publish 80 Earned by 3 people Select to learn more
Public Statistics
Date Registered ‎01-23-2018 01:43 AM
Date Last Visited ‎12-21-2022 11:17 AM
Total Messages Posted 66
Likes Received 12
Likes given to