Monday 07 May 2012 7:04:25 pm - 7 replies
Hi all ,
I have a problem accessing the first name and last name variables in the HTML output of the newsletter.
I have already teste name.tpl variables but they are not working in the main template like :
{if eq($nl_user.first_name,'amir')}
<h1>hallo Amir</h1>
{/if}
(code is just a simple example)
How can i do that ? any Idea ?
Tuesday 08 May 2012 3:08:06 pm
At the moment you can use the following variables for personalisation:
'[[name]]',
'[[salutation_name]]',
'[[first_name]]',
'[[last_name]]'
If this not help you can use a custom tpl for [[name]] creation. Here you can do what you want use custom operators ... . This is enabled in cjw_newsletter.ini
If you use the custom tpl - the backed will also use this tpl to display the personalisation name.
[NewsletterUserSettings] # if disabled nl_user.name is created with default shema # saluation first_name last_name # if enabled the tpl design:newsletter/user/name.tpl will be used UseTplForNameGeneration=enabled
We thinking about to have the possibilty to send out testmails with personalisation, but at the moment you can only make real personalistion test by sending out a testnewsletter with the cronjobs. Sorry.
Cheers
Felix
... Nice that people are using our CJW Newsletter ...
Thursday 10 May 2012 8:44:24 am
Hi Amir,
The next time you could write your question, suggestions about cjw newsletter directly in the projects.ez.no section http://projects.ez.no/cjw_newsletter/forum.
If you have some time left, you can also write a review.
Cheers
Felix
You must be logged in to post messages in this topic!