Closed (fixed)
Project:
Simplenews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2010 at 11:37 UTC
Updated:
27 Nov 2010 at 16:30 UTC
Jump to comment: Most recent file
Hi,
It's a follow-up from #809276: Error after enabling simplenews and actions. I replaced hook_hook_info() by hook_trigger_info().
I think it could be the occasion to rename it simplenews_action_trigger_info() instead of simplenews_trigger_info(), but leave the decision to the maintainer.
There still are a few things not working in the module (like the configuration of advanced actions), but we'll get there eventually ;)
Best regards,
Simon
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | simplenews_964614_3_action.patch | 8.01 KB | miro_dietiker |
| #1 | simplenews_964614_action.patch | 8.27 KB | miro_dietiker |
| simplenews_trigger_info.patch | 1.01 KB | simon georges |
Comments
Comment #1
miro_dietikerGlad to see you working on this.
Since this functionality is omitted by simplenews itself and it's introduced by the simplenews_action module i consider clearly using the new simplenews_action namespace.
What do you think of prefixing all functions as suggested by my patch?
Please review and conform to commit.
Comment #2
simon georges commentedI'd agree about everything but simplenews_action_cron(), because it would be interpreted by drupal as the hook_cron() for this module, so I think we have to use a different name for this one. Otherwise, good for me (apart from the fact that you still need the patch on #809276: Error after enabling simplenews and actions to have everything working ;)).
I'll do an extensive review to look for other bugs after the next commit(s).
Anyway, maybe you'd rather focus on releasing the 6.x-2.x version for now, it seems we still have a few months before the D7 stable release, and simplenews D7 port is already well advanced. Just contact me if you need any further or specific help. I like this module ;)
Comment #3
miro_dietikerAttached patch is the second try after the other one was committed.
Please review again.
Comment #4
simon georges commentedThis one sounds good ;)
Comment #5
miro_dietikercommitted to dev.