Additional information and segmentation

You need to be logged in to post messages in the forums. New users may register here.

Maxime Thomas

Member since:
09 January 2008

Posts: 15

Thursday 23 September 2010 7:55:31 am

Hi there,

Thank you for the extension, it's quite good (and better than eznewsletter).

I would like to store additional information about my users and I noticed that there are two fields in the cjwnl_users table, data_text and data_xml, but I can't find where it is used. Can you explain me or give me a piece of code to use it ?

How can I do a segmentation of the users by an arbitrary params (the department id in my projet) ? The aim is to have one newsletter that will be built depending on the param of the user (1 newsletter, 1 list, but several generated newsletter). Do you know how I can do this ?

Max
Up

Felix Woldt

Member since:
09 January 2008

Posts: 36

Thursday 23 September 2010 8:01:54 am

Hi Maxime,

thank's for your feedback.
At the moment their is no api for this fields.

The idea is for

- data_text: you can store what you want in that field , custom xml, comma separated list ...
=> usefull at the moment for import

- data_xml. in the future i want to implement the possibitlity to add custom attributes in the nl admin - so do not use this field at the moment!

in bose cases you have to write your own php functions.

Cheers
Felix

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 Beta2 released: http://projects.ez.no/cjw_newsletter

Up

Maxime Thomas

Member since:
09 January 2008

Posts: 15

Friday 24 September 2010 7:56:21 am

Thank you for the extra quick answer.
After chating with other it seems that I will have to do as many newsletters as I have department. As it is an import, it can be automatised. So I don't really need the data_text and data_xml fields.
Up

You need to be logged in to post messages in the forums. New users may register here.