revo 2.2.5
I'm putting together a plugin that when a resource with a particular template is published it emails the contents through to mailchimp beamer which then turns it into a draft ready for sending.
For sending the email I'm using the following:
http://rtfm.modx.com/display/revolution20/modMail
To populate the email I've setup two chunks mailChimpBeamerTitle and mailChimpBeamerContent. Within the title chunk i just have
and within the content
I then have the following to call these chunks to put into the email:
$title = $modx->getChunk('mailChimpBeamerTitle');
$content = $modx->getChunk('mailChimpBeamerContent');
When the resource is published the email is sent but rather than the actual tvs within the chunks being processed and emailed I'm getting just the tag through e.g email subject is [[*pagetitle]].
Oddly enough I have a dev setup (same version of modx, same configuration) and it is actually working as it should do and I can't for the life of me work out why it doesn't work on the live version of modx...
[ed. note: enoch1 last edited this post 13 years, 9 months ago.]