Update of /var/cvs/contributions/didactor2/src/education/templates/education
In directory james.mmbase.org:/tmp/cvs-serv12454
Modified Files:
main.jspx
Log Message:
default learnobject
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education
Index: main.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/main.jspx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- main.jspx 14 Mar 2008 17:37:00 -0000 1.3
+++ main.jspx 19 Dec 2008 11:31:27 -0000 1.4
@@ -32,9 +32,17 @@
<img id="ajax_loader" alt="" src="${mm:treelink('/gfx/ajax-loader.gif',
includePath)}" style="display: none;" />
<div id="contentFrame">
- <mm:import externid="learnobject" />
+ <mm:node number="${education}">
+ <mm:import externid="learnobject">
+ <mm:relatednodescontainer type="learnobjects" role="posrel"
searchdirs="destination">
+ <mm:sortorder field="posrel.pos" direction="up"/>
+ <mm:relatednodes max="1"><mm:field name="number"
/></mm:relatednodes>
+ </mm:relatednodescontainer>
+ </mm:import>
+ </mm:node>
+
<mm:present referid="learnobject">
- <mm:include page="/content/" />
+ <mm:include page="/content/" referids="learnobject" />
</mm:present>
</div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs