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

salvis’s picture

Status: Active » Postponed (maintainer needs more info)

Which Subscriptions modules did you enable and which mail templates do you expect to be there that aren't?

stevemagruder’s picture

I 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.

salvis’s picture

Version: 5.x-2.0 » 5.x-2.x-dev
Status: Postponed (maintainer needs more info) » Fixed

Ah, 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.

stevemagruder’s picture

Version: 5.x-2.x-dev » 5.x-2.0
Status: Fixed » Postponed (maintainer needs more info)

I'm still not seeing the subscriptions-related mail templates, but I thank you for attempting a fix.

salvis’s picture

Then 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.

stevemagruder’s picture

I 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.

salvis’s picture

(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...

stevemagruder’s picture

They'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!

salvis’s picture

Subscriptions 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!

stevemagruder’s picture

I 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.

salvis’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ok, thanks.

Just in case there should be other problems with Subscriptions, please start a new issue for each one.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

o4tuna’s picture

I 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.