Recent articles

A tour guide example Arrea Systems Fri, 07/16/2021 - 08:30
Drupal 9.2 has introduced a new tour framework replacing Joyride with Shepherd. Try it live.
Jitsi video integration Arrea Systems Mon, 07/05/2021 - 17:12
Integration of Jitsi video conferencing solution. Create block to start video conference or content page with integrated video.
Technique to format html email (simplenews + swiftmailer + css) Arrea Systems Sat, 07/18/2020 - 10:00

 

If you use swiftmailer + simplenews, you may want to send html email with custom css.

To achieve that,you have to customise 2 twig templates.

The first template is the default template that is provided by swiftmailer: simplenews-newsletter-body.html.twig.

You can use this template to build your own email body with content you like to use. For example, in the template below, an hero image is inserted using table layout.