I have Newsletter V0.4 running well on SS 2.3.7. Subscribe, unsubscribe, my templates, and viewing and editing saved drafts is all working great thanks in no small part to the helpful advice on this forum.
I now want to add some advanced functionality to my template so that it draws info from other parts of the site automatically. For example, I would like the latest five events from my events calendar to be added to the newsletter email.
I already have this working fine on my home page (again thanks to the forums and tutorials), along with the latest news and some random content that displays a different Featured Group every time the page is refreshed.
This was simple enough to do via the HomePage.ss page type, which extends the Page.ss page type, but the same workflow doesn't seem to apply to the Newsletter module.
Can anyone give me a basic workflow on how to achieve this, or some good reasons why it cannot be done?
Is there a way to reference external PHP files with the required code from within my newsletter email template, without having to mess around with the Newsletter module code?
I've seen a few posts asking for similar advice but no real answers so I'm putting it out there again.