02/03/2012 5:25pm

PHP | Problem -



$categories = DataObject::get('Notification',"userID=".Member::currentUserID()." and type='category'",'',
"left join productcategory on productcategory.ID=notification.type_id");

$data = array('produkte'=>$products,'categories' => $categories);
return $this->customise($data)->renderWith(array('NotificationPage_show','Page'));



<% if categories %>
<% control categories %>
$ID
$Productcategory.Name
<% end_control %>
<% end_if %>


Post Comment