bihor / fp_newsletter

TYPO3 plugin for newsletter subscription and unsubscription. Used table: tt_address. A log is written.
https://extensions.typo3.org/extension/fp_newsletter/
GNU General Public License v3.0
7 stars 18 forks source link

Mail unsubscribeToAdmin displays only mailaddress #52

Closed jacques2017 closed 2 years ago

jacques2017 commented 2 years ago

Hi, in the mail unsubscribeToAdmin I need to display the first_name and last_name. But they are empty. grafik In the Mail it looks like:

Guten Tag,

dieser User hat sich gerade vom Newsletter abgemeldet:

Name: [this is empty]

E-Mail: [the correct mailaddress is displayed]

Mit freundlichen Grüßen Ihre Firma

I use direct_mail with tt_address , the newest Version of fp_newsletter and "unsubscribe with link" to unsubscribe. The missing fields (first_name, last_name) are filled in tt_address.

bihor commented 2 years ago

Well, I have noticed, that the name is empty in this email and therefore I removed the name in version 3.0.0 from that template. Your output must be from an older version.

The problem is that there is no relation between a log-entry and an tt_address-entry.

OK, a solution could be:

I could do it next week.

jacques2017 commented 2 years ago

Thanks. Yes, the template is from an older Version, because I use a copy of the template.

bihor commented 2 years ago

OK, this is now implemented in version 3.0.2.

jacques2017 commented 2 years ago

Many thanks. In my template I added an <f:if ... > to check if lastname or firstname are empty or not.