For now, as I understand, anonymous simplenews-subscribers, that is susbscribers which are not registered users, are defined by one single field: the e-mail address. It is the only field presented on the subsription form.
I would like to add more fields to this form (name, sure name, etc.) and use this data via tokens in the newsletter, in order to address my subscribers by their name.
Hi @izmeez
I believe that server-level includes .htaccess as this is read by Apache before Backdrop gets to it.
I personally wouldn't include more in trusted host patterns that is...
Posted2 hours 7 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Sorry for not being more clear in earlier comment.
Presuming .htaccess is directing to a single url, either www or non-www bare domain, not allowing both. When it comes to adding trusted...
What I tend to do in .htaccess is pick one and redirect to that. If you allow both and you don't specify a canonical one, then it could affect search as they would appear as duplicates. You may...
Posted1 day 10 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Hi Conni, Thank you for your suggestion, it is indeed very close to what I'm looking for. We are currently busy with content transfer, but I will have a try soon.
What about www and non-www bare domain names? Should both be added as trusted host patterns?
$settings['trusted_host_patterns'] = array('^www\.example\.com$','^example\.com...
Comments
Hi. Try adding more detail about what you want to do. That may help people respond.
Hi agriepiano,
thanks a lot for picking up this topic.
For now, as I understand, anonymous simplenews-subscribers, that is susbscribers which are not registered users, are defined by one single field: the e-mail address. It is the only field presented on the subsription form.
I would like to add more fields to this form (name, sure name, etc.) and use this data via tokens in the newsletter, in order to address my subscribers by their name.
Best regards