10380 Posts in 2195 Topics by 1711 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 280 Views |
-
Newsletter Module - $Member.FirstName

9 February 2012 at 5:37pm Last edited: 9 February 2012 7:03pm
Everything for the newsletter module appears to be working fine. Except for the $Member.FirstName in my template. Has anyone had any issues with this before? and aware of any solutions.
- I've got a Custom Member extending the Data Object Decorator
- Have version 0.4
I also have a custom function Ive added to NewsletterEmail.php, this works in the template fine.
function UpcomEvents() {
$today = gmdate('Ymd');
$thirtydays = gmdate("Ymd", (30*86400) + time());
$month_events = DataObject::get("EventResource", "Approval = '1'
AND (Date BETWEEN '{$today}' AND '{$thirtydays}')", "Date ASC", false, "20");
return $month_events;
} - I've got a Custom Member extending the Data Object Decorator
-
Re: Newsletter Module - $Member.FirstName

14 August 2012 at 9:54am
I am having the same issue. Any reference to the Member object will not display in the newsletter.ss Please Help! Thanks
| 280 Views | ||
|
Page:
1
|
Go to Top |


