HI All
I have a created a email Template which grabs the Data for a data object.
All renders fine on the EmailTemplate.ss.
But within that data is an array , so when i print_r i get
[MyDataObjects] => Array ( [47] => 47 )
But when i try to loop through them in the template i get nothing
I have tried
<% control MyData %>
<% loop MyDataObjects %>
<h3> $MyDataObjects </h3>
<% end_loop %>
<% end_control %>
and
<% if MyDataObjects %>
<% loop MyDataObjects %>
<h3> $MyDataObjects </h3>
<% end_loop %>
<% end_if %>
Any ideas would be greatly received
Thanks
Darren