![]() ![]() Its title and a message inviting to contact the administrator for editors.If there’s an error the page will display: The code viewer is only shown to superusers. A shortcut is also added under “View” in the edit page to open the raw code in a new tab.Only visible to users with the page’s edit permission.Not added if the page is rendered outside of a PageView.A button is added to quickly copy the raw code of the generated newsletter.A simple (dumb?) code viewer highlights lines with errors/warnings.Cleared if the template file has been modified. ![]() Not cached if there are errors/warnings.The MJML output is cached to avoid repetitive API calls.You will either get error/warning messages or your email properly formatted and ready-to-go.įrom there you can copy/paste the raw generated code in an external mailing service or distribute your newsletter using ProMailer. Once your credentials are validated, select the template(s) in which you’re using the MJML syntax, save and go visualize your pages to see if everything’s good. Prerequisiteįor this module to work you will need to get an API key and paste it in the module’s configuration. Write your template using MJML combined with Processwire’s API and this module will automatically convert your code into a working newsletter thanks to their free-to-use Rest API. A module allowing you to write your Processwire template using MJML and get a converted HTML output using MJML API.Ĭreated by Mailjet, MJML is a markup language making it a breeze to create newsletters displayed consistently across all email clients. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |