×

info

Dear guests,
You are currently on the old forum we kept as a knowledge base. You will find the new community forum here
Welcome, Guest
Username: Password: Remember me
Keyword

TOPIC: Show current year+1 in newsletter?

Show current year+1 in newsletter? 3 years 10 months ago #104051

  • Anonymous user
  • fribse's Avatar
  • Posts: 259
  • Karma: 0
Hi Guys

I'm sending out a subsciption renewal to users, and I want to write for 'next year', how do I do that with Acymailing?
Is it possible at all? Or do I need to do something clever in CB, and then pull that info into acymailing?
Best regards
Fribse

Dykkerklubben Dannebroge www.dkdb.dk
We're a volunteer driven diving club in Mosede, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Please log in to post a reply

Show current year+1 in newsletter? 3 years 10 months ago #104108

  • Alexandre
  • Alexandre's Avatar
  • Posts: 2462
  • Karma: 67
Hi,

Feel free to use this tag in order to include next year in your newsletter : {date:%Y|add:31536000}
Please log in to post a reply

Show current year+1 in newsletter? 3 years 8 months ago #105708

  • Anonymous user
  • fribse's Avatar
  • Posts: 259
  • Karma: 0
Ok, I've done it like this:
{if:var.{date:%m}=01}{date:%Y}{/if}{if:var.{date:%m}!=01}{date:%Y|add:31536000}{/if}, og {if:var.{date:%m}=01}du vil blive udmeldt til den 1'ste{/if}{if:var.{date:%m}!=01}du nærmer dig en udmelding af klubben{/if}.

The idea is that if it's in january, it's the current year, otherwise it's next year, and if it's january, they get a message about discontinuing the membership.
Best regards
Fribse

Dykkerklubben Dannebroge www.dkdb.dk
We're a volunteer driven diving club in Mosede, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Please log in to post a reply
Time to create page: 0.168 seconds
Powered by Kunena Forum