"Star, Sander" <[EMAIL PROTECTED]> wrote: > 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!
Yes, I'd say, the suggestion would be to show the learnobjects outside the mm:relatednodes. I don't understand why they would not be showable? > <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> Michiel -- Michiel Meeuwissen Mediacentrum 140 H'sum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
