Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please add a views handler to display the send date in a view.
Even though I require it for a simplenews_statistics defined view, I believe that the handler belongs inside of simplenews core.
Comment | File | Size | Author |
---|---|---|---|
#4 | simplenews_statistics-add-send-date-statistics-and-views-integration-1660860-4.patch | 9.13 KB | jjchinquist |
Comments
Comment #1
BerdirThat information is currently not stored? The only timestamp is in the simplenews_mail_spool table and that is temporary information that is removed again as configured.
Comment #2
jjchinquist CreditAttribution: jjchinquist commentedWhich is more logical for you Berdir? Store this information in the simplenews_newsletter table, or to store a "send_start" and "send_end" statistic in the module simplenews_statistics table simplenews_statistics?
Comment #3
jjchinquist CreditAttribution: jjchinquist commentedHello Berdir. After looking at the databases again, I decided the more appropriate place for the values is in the simplenews_statistics module.
Comment #4
jjchinquist CreditAttribution: jjchinquist commentedhere the patch against the newest d7-1x version of simplenews_statistics.
Weseze, can you backport this update to the D6 version too?
Tested on 3 sites at work.
Comment #5
weseze CreditAttribution: weseze commentedThe concept looks great! I will give it a go and backport to D6.
Comment #6
rmcom CreditAttribution: rmcom commentedsubscribing for D6
Comment #7
weseze CreditAttribution: weseze commentedThis patch will have to be rewritten. As of the latest dev version there is no simplenews_statistics table anymore since id didn't store any information that wasn't already available.
We could re-implement the table to store information like this however. And maybe we could store more information in the future in that table.
Comment #8
rmcom CreditAttribution: rmcom commentedHas this been rolled into the D6 version? If not, I would love to help.
Comment #9
dieuweAs far as I know this was never ported to D6.
Comment #10
dieuweSorry, I think I misunderstood some of the previous comments. This never even made it into the D7 version.
Comment #12
dieuweOkay, this feature is now in the D7 version.
I salvaged what I could from the patch and made some changes. The {simplenews_statistics} table has been reintroduced as an extension of the {simplenews_newsletter} table.
If anyone wishes to backport this to D6, patches are welcome.