If statementsSince AcyMailing 1.7.2, you can include "if statements" in your Newsletter to display content based on the user's preferences.
Tag Structure
{if:VARIABLE OPERATOR VALUE}...text you want to display or remove...{/if}
You can use any variable from the user profile (so name, email, subid, userid or any other custom field you created)
ExamplesDisplay text for registered users only{if:userid!=0}You're one of our registered users!{/if}
Display text for visitors (users without a Joomla account) only{if:userid=0}What? You're not a registered user?? Let's create your account now!{/if} Display text based on the user's interests (created with the AcyMailing Enterprise custom fields)If you create a custom field with checkboxes to select user's interests, you should then use the operator "~" as a user may have several interests. Display text if the field does not have value{if:occupation= }You didn't enter your occupation... don't forget to update your profile on our website!{/if}
Last Updated on Friday, 08 June 2012 10:48
|




Enjoy automatic send process and scheduled newsletters. Use captcha and welcome messages.
Stop writing your newsletters, let Acy do it for you! Track your user's clicks and get powerful statistics.
The ultimate version with custom fields, front-end edition, bounce back handling, follow-up messages ...
The best of AcyMailing with unlimited websites support.
More integrations? Have a look at our plugins
AcyMailing is translated in more than 40 languages
AcyMailing
If our documentation didn't answer your question
Where everything is explained!
For private enquiries
