Home Forums Newsletter Plugin Support {date} tag does not work in Messages Template

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #338634
    studio
    Participant

    Hi,

    I wanted to add a line like “c.2025 company” at the bottom of my general (hello, goodbye, etc.) emails, so I added

    <p><center>c.{date_Y} {company_name}</center></p>

    in the Messages Template. But {date_Y} (or even {date}) does not get expanded, while {company} does.

    What am I doing wrong?

    Florian

    #338782
    Michael
    Keymaster

    Hello Florian,

    if you use {date} alone does it work?

    Michael

    #338802
    studio
    Participant

    Hi Michael,

    that was my first test. I had c.{date_Y} studio kaedinger and it didn’t work. So I tested with c.{date_Y} {company_name} which “expanded” to “c.{date_Y} studio kaedinger”.

    To summarize:

    <p><center>c.2025 {company_name}</center></p>
    <p><center>(c) {date} studio kaedinger</center></p>
    <p><center>(c) {date_Y} studio kaedinger</center></p>
    

    came out

    c.2025 studio kaedinger
    (c) {date} studio kaedinger
    (c) {date_Y} studio kaedinger
    

    No version of {date} gets expanded.

    Florian

    #338809
    Michael
    Keymaster

    Hello Florian,

    we’ll check this, I’ll get back to you as soon as possible with possible solutions.

    Michael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.