Downloaded 91 times so far
This is probably the most powerful and flexible element possible.
Specify your DataObject::get() query and render it in the template you provide!
The returned DataObjectSet is loaded in the variable "$Me".
Read the official DataObjectSet class documentation
the best way of using it is warpping it in a
<% control Me %> - loop in order to have acces to all the properties
Query for Page
insert your filter and sort patameters
and render it as a menu anywhere you want with this template:
<ul>
<% control Me %>
<li><a href="$Link">$Title</a>
<% end_control %>
</ul>
Query for Member
and show the number of registered users:
<p>$Count registered users</p>