5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1349 Views |
-
ModelAdmin and Frontend Integration

21 March 2009 at 9:41pm
Hi guys. I have played a little bit around with model admin, and yeah I think its a really cool feature. I have just on problem. How can i display my data on a page in the frontend ?
THX a lot
Thomas
-
Re: ModelAdmin and Frontend Integration

21 March 2009 at 9:53pm
Ok ok think first before posting. Just create a new page and add a custom query to the controller
function TestQuery (){
$list = DataObject::get('Product');
return $list;
}<% control TestQuery %>
<p>$Name ... $Category.Title</p>
<% end_control %>and it works like a charm
| 1349 Views | ||
|
Page:
1
|
Go to Top |

