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.
Just FYI, for field API date fields that use ISO format (basically a string), the resulting expression produced by the date_views_filter_handler_simple handler is
DATE_FORMAT(STR_TO_DATE(...
Posted38 min 56 sec ago by Alejandro Cremaschi (argiepiano) on:
Yes, what I suspected. The core views filter handler for dates (views_handler_filter_date) can only handle UNIX timestamp sql columns.
You'll either need to extend that filter handler to...
Posted44 min 54 sec ago by Alejandro Cremaschi (argiepiano) on:
Good call on the devel...it shows the filter on the date field is looking for a unix timestamp. FYI, that value corresponds to yesterday, July 13
WHERE (( (ShowsNotices.ShowDate >=...
Are you able to do some debugging? Can you output the variables in views_handler_filter_date:op_simple() ?
Specifically, I would enable Devel and insert something like
dpm($this->...
Posted2 hours 4 min ago by Alejandro Cremaschi (argiepiano) on:
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