custom template modifications for e-newsletter

I have two questions. First, I am trying to create a custom template for e-newsletter. I need this template to have a graphic in the footer. How can I add this? I am thinking it would be something like 'BUILDER_DEFAULT_FOOTER_IMAGE' in the index.php or something but I am not sure. Also, I need to be able to sent a specific newsletter to a specific user using a shortcode. I want to send a welcome newsletter to users that register. To make it even more complicated, this newsletter would be different depending on how the user registered. This is why I need it to be a shortcode. I can not find any documentation of all of the shortcodes for e-newletters, but I would imaging this already exists.

  • Tyler Postle

    Hey Phil,

    Hope you're doing well today!

    I need this template to have a graphic in the footer. How can I add this? I am thinking it would be something like 'BUILDER_DEFAULT_FOOTER_IMAGE' in the index.php or something but I am not sure.

    You will want to edit the template.html file inside the template you want to customize and add in the image there via html.

    ie.

    <img src="http://your-image-url.com" title="image title" alt="alt text" width="##" height="##" />

    In order to ensure your changes don't get overwritten on future updates you'll want to re-name the template and move it over to your /wp-content/uploads/enewsletter-custom-themes/ folder that enewsletter automatically creates. More info on that at the bottom of our usage guide: https://premium.wpmudev.org/project/e-newsletter/#usage

    By the way, sounds like you already found them but the templates are:

    /wp-content/plugins/e-newsletter/email-newsletter-files/templates/

    Also, I need to be able to sent a specific newsletter to a specific user using a shortcode. I want to send a welcome newsletter to users that register.

    Are you wanting it to send when the user fills out something that the shortcode creates?

    Newsletters can be set manually or scheduled on a time basis. They currently can't be set to send based on actions. They are more for creating a daily/weekly/monthly etc. newsletter and then sending it out when you're ready - not so much for welcome emails.

    What you might want to do instead is use Mailchimp then our Membership 2 plugin, which has a Mailchimp add-on. You can select a specific list for the member to be added to when they sign up. Then in Mailchimp you can have that list set to send out a welcome email soon as someone joins it.

    You can add them to two different lists depending whether they signed up for a Membership or not.

    However, currently it doesn't support setting a list per membership so in regards to wanting to send different emails based on the way the member signs up - that may not be possible depending on the ways you had in mind.

    Another option is our AutoMessage plugin: https://premium.wpmudev.org/project/automatic-follow-up-emails-for-new-users/

    but again, every new user would receive the same email in this case.

    What sort of different ways will your members be registering?

    Look forward to hearing back!

    Cheers,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.