[TYPO3-english] Direct Mail categories / sr_feuser_register

Curt Grimley curt at cgss.net
Tue Jan 6 15:11:14 CET 2009


j.hetter at freenet.de wrote:
> Hi,
> I set up a Typo3 installation with direct mail for newsletters and sr_feuser_register. Everything works fine except the direct mail categories. Maybe I'm misunderstanding something. I thought I could use the direct mail categories to select if a user wants the newsletter. So I called the category "Yes, subscribe to newsletter". If a user selects this option he's supposed to get the newsletter, elsewise not.
> When I select the "Yes, subscribe to the newsletter" category during creation of the newsletter in the "Direct Mail" module then only the subscribed users get the content of the newsletter. All other users get an empty newletter. That's not what I want. :(
> 
> It seems using direct mail categories in sr_feuser_register is not the appropriate solution. So how can I set up direct mail so that users can sign up for the newsletter as a whole and not only for a category.
> 
> I'm using Typo 4.2, and the latest direct mail and sr_feuser_register.
> 
> Thanks in advance
> 
> Juergen

Hi Juergen,

You might try creating a new recipient list in direct mail as a "special
query". Then when you display the recipient list, you should be able to
play with the query to get a list that only contains the people who
checked your list.

Looking at it, I am not sure it works as displayed and implied, because
I think the fe_user.module_sys_dmail_category field has since been
implemented as a many to many relationship with a separate table
(sys_dmail_feuser_category_mm).

But if you check your data (browse fe_user in phpmyadmin), it may turn
out that the value stored on the people who chose a category (1 versus 0
for everyone else) is the same as the category number (uid) of your only
category (1) and your special query list should give you the right people.

I am not sure about that but it is something you can explore... good luck,
Curt


More information about the TYPO3-english mailing list