[CMF-checkins] CVS: CMF - topic_view.dtml:1.2
Jeffrey Shell
jeffrey@digicool.com
Tue, 27 Mar 2001 11:17:57 -0500 (EST)
Update of /cvs-repository/CMF/CMFTopic/skins/topic
In directory korak:/home/jeffrey/InstanceHomes/cmf-dev/CMF/CMFTopic/skins/topic
Modified Files:
topic_view.dtml
Log Message:
Addes simple listing of subtopics to the default view.
--- Updated File topic_view.dtml in package CMF --
--- topic_view.dtml 2001/02/28 21:25:20 1.1
+++ topic_view.dtml 2001/03/27 16:17:53 1.2
@@ -6,17 +6,30 @@
<h2> Topic: <dtml-var title> </h2>
-<dtml-let results=queryCatalog>
+<dtml-in expr="contentValues(['Portal Topic'])">
+ <dtml-if sequence-start>
+ <h4>Subtopics: </h4>
+ <div>
+ </dtml-if>
+ <a href="&dtml-absolute_url;/topic_view"
+ ><dtml-if Title>&dtml-Title;<dtml-else>&dtml-getId;</dtml-if></a>
+ <dtml-unless sequence-end>, </dtml-unless>
+ <dtml-if sequence-end>
+ </div>
+ </dtml-if>
+</dtml-in>
+<dtml-let results=queryCatalog>
+<h4>Topic matches: </h4>
<dtml-in results size="20" start=qs>
-<dtml-let objURL="portal_catalog.getpath( data_record_id_ )">
+<dtml-let objURL="portal_catalog.getpath(data_record_id_)">
<dtml-if next-sequence>
- <dtml-call "REQUEST.set('next-sequence'
- , _['next-sequence-start-number'])">
+ <dtml-call "REQUEST.set('next-sequence',
+ _['next-sequence-start-number'])">
</dtml-if>
<dtml-if previous-sequence>
- <dtml-call "REQUEST.set('previous-sequence'
- ,_['previous-sequence-start-number'])">
+ <dtml-call "REQUEST.set('previous-sequence',
+ _['previous-sequence-start-number'])">
</dtml-if>
<dtml-if sequence-start>
<ul>