Comments (17)
Ok cool thanks for the feedback!
from wordpress-sparkpost.
Thanks for submitting @billz - what are your thoughts around this being a drop down vs. just an input field. I'm thinking input field for the simple fact that we don't know how many templates a user might have and that list can get very long.
from wordpress-sparkpost.
@richleland an input field would do it, sure. Mandrill uses a drop down. We have a limited set of templates so it works well enough for us, although our case may not be typical.
from wordpress-sparkpost.
I, personally, am not sure about the use case. If you select a template, how regular wp emails will be sent? For example, the new user registration, forget password or any other emails that wordpress core and/or plugins send. Do you want all of these emails to use the same template?
It would be great if you enlighten us with your use cases. Thanks
from wordpress-sparkpost.
@rajumsys In our case, yes--a single template is used for all outgoing wp email. Our template is essentially just a logo header and footer links that wraps the dynamic content. Mandrill gives us the option of applying one template globally this way. This suffices for our needs and, I suspect, is typical for most wp sites.
from wordpress-sparkpost.
@billz That totally makes sense to me. Thanks for explaining :).
from wordpress-sparkpost.
@billz We do the same though I have several domains sharing the same Mandrill account and I choose the one for the appropriate domain.
from wordpress-sparkpost.
What is the status of this issue?
from wordpress-sparkpost.
At the risk of sounding whiney, I'll ask again. Is there a path or timeframe for this? A reply would be greatly appreciated as it will influence our decision on settling on this platform.
Thanks in advance.
from wordpress-sparkpost.
Hi @jpw94 not whiney at all. I'm going to take a look at what's required for the implementation of this. I don't have an exact time frame for you, but I'll post again as soon as I have an idea of what's involved.
from wordpress-sparkpost.
@jpw94 @billz I want to make sure I understand what your Mandrill templates look like. So you've got a header/footer - and then I assume you have an area in the template that has a variable like {{ content }}
and basically the WP content gets substituted in there - is that correct? Is there a specific variable name you use that Mandrill enforced?
from wordpress-sparkpost.
I created a PR (#22) with a first crack at this. It's just an open template field, but it works. For now it requires that the template have a variable {{{content}}}
in it.
Would love feedback if you're interested in checking out the code to your wp-content/plugins folder.
from wordpress-sparkpost.
@richleland thanks! would it help if i create a screen capture video which illustrated the functionality?
from wordpress-sparkpost.
Oh that would be awesome @jpw94. I'd appreciate you taking the time to do that! Alternatively if you just want to copy and paste some of your template in Mandrill that would help too.
from wordpress-sparkpost.
Here is a screenshot of the plugin interface : http://www.awesomescreenshot.com/image/1091848/720b1b04be395ee416a4d1c1f987416a
as noted, there is a dropdown box which exposes stored templates in the Mandrill account.
from wordpress-sparkpost.
OK perfect - thanks for posting that. That help text under the field is what I was looking for. Basically in your templates you have mc:edit="main"
. For the PR I submitted, you'd change that to {{{content}}}
. How does that sound?
from wordpress-sparkpost.
Latest version with template support is released.
from wordpress-sparkpost.
Related Issues (20)
- Allow option to raise email exceptions HOT 1
- Support adding Campaign tag HOT 1
- Newly installed sparkpost plugin, getting SSL error: Failed to enable crypto HOT 3
- Show admin-wide alert if plugin is not ready to send!
- BuddyPress not sent with SparkPost HOT 3
- Why is Content-Type unsupported? HOT 9
- API Transmission Endpoint Changes HOT 2
- Retry transmissions after 5xx Error HOT 1
- Sparkpost replaces the url with a custom url HOT 3
- Emails could not be sent. htmlentities() expects parameter 1 to be string, array given in xxx HOT 8
- Missing assets folder in plugin installation HOT 6
- Retry transmissions after cURL error
- QUIT
- Sparkpost for only one contact form?
- reply-to not working
- Disable SparkPost mailer using a PHP constant
- Plugin uses incorrect bounce domain HOT 1
- Wondering if this plugin is still being maintained? HOT 1
- Deprecated notice on WP 5.5 HOT 2
- Fatal error: Uncaught Error in PHPMailer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-sparkpost.