Closed (fixed)
Project:
Subscriptions
Version:
5.x-2.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 May 2008 at 03:13 UTC
Updated:
17 Feb 2009 at 02:59 UTC
I installed and enabled Mail Editor, then installed Subscriptions, enabling many of its modules. I expected additional subscriptions-related mail templates to be added to the Mail Templates, but they're not there. Is there something I need to do to make them appear?
Comments
Comment #1
salvisWhich Subscriptions modules did you enable and which mail templates do you expect to be there that aren't?
Comment #2
stevemagruder commentedI first installed and enabled Mail Editor 5.x-1.1.
I then installed the Subscriptions 5.x-2.0 package and enabled the modules Blog Subscriptions UI, Content Subscriptions, Subscriptions, Subscriptions Mail, Subscriptions UI, and Taxonomy Subscriptions.
I expected that the following mail templates be added to the mail templates list under "Mail templates" in Admin:
subscriptions-digest
subscriptions-node-nid
subscriptions-node-tid
subscriptions-node-type-article
subscriptions-node-type-blog
subscriptions-node-type-page
but they're not there. I thought that was the point of having Mail Editor as a prerequisite to Subscriptions Mail.
Comment #3
salvisAh, you don't see any Subscriptions mail templates at all! I'm sorry, I thought you were seeing some but missing others, and I suspected that you didn't have the standard set of modules activated.
I've seen this happen occasionally — it's a caching issue with Mail Editor. Many actions in Drupal cause the cache to be cleared, and the mail templates usually show up sooner rather than later — you'll probably see them now.
However, I've added code to clear Mail Editor's cache to subscriptions_content.install (in 5.x-2.x-dev, available within 12 hours), so this should not happen anymore.
Thanks for reporting.
Comment #4
stevemagruder commentedI'm still not seeing the subscriptions-related mail templates, but I thank you for attempting a fix.
Comment #5
salvisThen disable 2.0 (at least subscriptions_content), download 5.x-2.x-dev, copy it on top of 2.0 and enable it. That should get the mail templates to appear.
Please let me know how it goes.
I think the reason why you got into this (rare) situation is that you looked at Mail Editor's configuration page before installing Subscriptions. The recently built 5.x-2.x-dev should be able to handle your scenario.
Comment #6
stevemagruder commentedI disabled all the subscriptions modules, then copied 5.x-2.1 on top, then re-enabled all the subscriptions modules.
The mail templates for subscriptions are still missing.
Comment #7
salvis(I wish you'd been able to test that before I released 2.1...)
Seems like we're not making any progress here. Please download and install Devel module. It has a menu item "Empty cache" — if that doesn't work, then we're barking up the wrong tree...
Comment #8
stevemagruder commentedThey're showing up now. After installed Devel, I saw a message that said I hadn't run all database updates as of yet. So I ran that and the subscription mail templates are now showing up.
I was wondering whether caching had anything to do with it, as I wasn't caching.
Thanks!
Comment #9
salvisSubscriptions wanted to update? Which number?
Unfortunately, we've lost all evidence now — there's no way to reconstruct the problem...
Mail Editor uses caching internally, that's not your choice.
IAC I'm glad it works now!
Comment #10
stevemagruder commentedI have no idea. I'm so new to Drupal I don't know what really happened. All I know is that an update was required from something.
Comment #11
salvisOk, thanks.
Just in case there should be other problems with Subscriptions, please start a new issue for each one.
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #13
o4tuna commentedI experienced a similar problem. Old, obsolete mail templates were showing up in the mail templates list, and templates from recently-created content types were not showing up.
The problem was resolved by running update.php.