This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Extensions » CJW Newsletter - problem with names

CJW Newsletter - problem with names

CJW Newsletter - problem with names

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>


(code is just a simple example)


How can i do that ? any Idea ? 

Tuesday 08 May 2012 12:34:50 pm

nothing ??

Tuesday 08 May 2012 1:39:16 pm

Are you actually building the mail list before sending or are you just sending a test mail?  The name isn't going to be populated until the list is built.

Tuesday 08 May 2012 1:51:33 pm

Hi Steven , 


I know i cannot get the names on test sending !

i can get the full name by [[name]] but i want a ez publish variable to work with


any solution for that ? 

Tuesday 08 May 2012 3:08:06 pm

At the moment you can use the following variables for personalisation:


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.


# if disabled is created with default shema
# saluation first_name last_name
# if enabled the tpl design:newsletter/user/name.tpl will be used

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.



... Nice that people are using our CJW Newsletter ...

Wednesday 09 May 2012 4:12:55 pm

Hi Felix , 


I had forgotten to enable the name.tpl in .ini file 

You were right and thank you very much !


your newsletter is great and i am using it blunk.gif Emoticon


thanks for your support and help

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 section

If you have some time left, you can also write a review.



Thursday 10 May 2012 6:43:19 pm

OK FELIX , Sure sure and thanks again blunk.gif Emoticon


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from