Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Newsletter Module - $Member.FirstName

Go to End

2 Posts   816 Views


Community Member, 18 Posts

9 February 2012 at 5:37pm

Edited: 09/02/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;


Community Member, 24 Posts

14 August 2012 at 9:54am

I am having the same issue. Any reference to the Member object will not display in the Please Help! Thanks