changed include in article and topicpage, changed link in topiccount
authormtopper <mtopper>
Sun, 31 Jul 2005 03:52:11 +0000 (03:52 +0000)
committermtopper <mtopper>
Sun, 31 Jul 2005 03:52:11 +0000 (03:52 +0000)
etc/producer/article.template
etc/producer/producers.xml
etc/producer/topiccount.template
etc/producer/topicpage.template

index e08409b..8e9ad02 100755 (executable)
@@ -68,7 +68,7 @@
 <body class="interior">
 
 <!--<include "navigation.template">-->
-<!--#include virtual="/${language.code}/navigation.inc" -->
+<!--#include virtual="/${language.code}/navigation.html" -->
 
 
 <!--#include virtual="/languagebar/${article.to_original.date.formatted.yyyy}/${article.to_original.date.formatted.MM}/${article.to_original.id}.html"-->
index 4d8f823..a99938d 100755 (executable)
        <verb name="doit" />
  </verbs>
  <body>
-       <FreeQuery key="topicCounts" query=" SELECT count(x.content_id) as count, t.title FROM topic as t LEFT OUTER JOIN content_x_topic 
+       <FreeQuery key="topicCounts" query=" SELECT count(x.content_id) as count, t.title, t.filename FROM topic as t LEFT OUTER JOIN content_x_topic 
                                                                                 as x ON (t.id=x.topic_id) LEFT OUTER JOIN content as c ON (c.id=x.content_id) 
                                                                                 WHERE t.archiv_url = 'Category' GROUP BY t.title ORDER BY length(t.title)"
                   type="set"/>
-                  
+       <Language>          
        <Generate generator="/topiccount.template"
                destination="${config.storageRoot}/${pathprefix}/topiccount.html" />
+       </Language>
   </body>
   </producer>
                
index 81da5fe..167a6fc 100755 (executable)
@@ -1,7 +1,7 @@
             <table id="topicCount" cellspacing="0">
                <list topicCounts as tc><tr>
                   <td class="count"><p>${tc.count}</p></td>
-                  <td class="topic"><p><a href="#">${tc.title}</a></p></td>
+                  <td class="topic"><p><a href="${config["Producer.DocRoot"]}/${language.code}/${tc.filename}/archive.html">${tc.title}</a></p></td>
                </tr></list>
             </table>
             <script language="JavaScript 1.2" type="text/javascript">
index 015438f..f1bea04 100755 (executable)
@@ -22,7 +22,7 @@
 
 <body class="interior">
 
-<!--#include virtual="/${language.code}/navigation.inc" -->
+<!--#include virtual="/${language.code}/navigation.html" -->
 
               <!--- topic-special ---> <comment></comment>
                                <if (batch.current.index==batch.first.index)>