All,
I have a question about using mmbase tags in a specific situation. The
problem we want to solve is that the tree tag doesn't show all learnobjects.
This because of the constraint on the mmevents node.
See the code below. If anyone has suggestions let me now. Thanks!
<mm:node number="$education" notfound="skip">
<mm:import id="previousnumber"><mm:field name="number"/></mm:import>
<mm:relatednodescontainer type="learnobjects" role="posrel">
<mm:sortorder field="posrel.pos" direction="up"/>
<mm:tree type="learnobjects" role="posrel" searchdir="destination"
orderby="posrel.pos" direction="up">
<!-- TODO here... to continue... How to implement -->
<mm:relatednodescontainer type="mmevents" id="my_mmevents">
<mm:time time="now" id="currenttime" write="false"/>
<mm:constraint field="start" value="$currenttime"
operator="LESS_EQUAL"/>
<mm:constraint field="stop" value="$currenttime"
operator="GREATER_EQUAL"/>
<!-- TODO here... to continue... -->
</mm:relatednodescontainer>
</mm:tree>
</mm:relatednodescontainer>
</mm:node>