Hello all,
I'm struggling with the following:
I have a sidebar widget that needs to show certain items. These items, however, contain a reference ID to another table in the database with the item's content. How can I get the template to render this information, like:
Item 1
- Content 1
- Content 2
Item 2
- Content ...
.
.
.
I can (probably) only access the content through a DataObject::get() call. In the template, I suggest I need something like:
<% control getItems %>
$Name
<% control getContent %>
$Name
<% end_control %>
<% end_control %>
Any help would be highly appreceated.
Friendly regards,
Maurice