Dominique van der Wal
|
| Posted: 09/10/2004, 1:41 AM |
|
Hi, i use the directory builder in order to create a forum (like this one).
I create a table for each subcat with 4 colomns (title, topics, msgs, date). When I display the subcat, I call a function in order to compute the number of topics, msgs and date of the last post
When I call the function via a before show subcat, nothing happend...
When I call the function via a beforeshow on the label, sometimes it work s (on the second label) but nothing happend on label1 and label3..
When I call the the function via a beforeshow on the second label, I can modify values for label1 and 3 but not for the first subcat (only label2 and 3 are modified) ....
Any idea to solve the problem ?
Here's my html code :
<!-- BEGIN Directory TForumList -->
<table class="EasyStreetFormTABLE" bordercolor="#84baff" cellspacing="0" cellpadding="4" width="100%" border="1">
<tr>
<td class="EasyStreetColumnTD" valign="top" colspan="2" width="365">Liste
des forums</td>
<td class="EasyStreetColumnTD" valign="top" width="50">Sujets</td>
<td class="EasyStreetColumnTD" valign="top" width="50">Msg</td>
<td class="EasyStreetColumnTD" valign="top" width="75">Date</td>
</tr>
<!-- BEGIN Category -->
<tr>
<td class="EasyStreetAltDataTD" valign="top" colspan="5"><b><a class="EasyStreetDataLink" href="{CategoryLink_Src}">{CategoryLink}</a></b></td>
</tr>
<tr>
<td colspan="5">
<!-- BEGIN Subcategory -->
<table border="0">
<tr>
<td width="25"><img src="../images/new_post.gif" border="0"></td>
<td width="340"><a class="EasyStreetDataLink" href="{SubcategoryLink_Src}">{SubcategoryLink}</a></td>
<td width="50">[{L_Posts}]</td>
<td width="50">{L_Topics}</td>
<td width="75">{L_Date}</td>
</tr>
</table>
<!-- END Subcategory -->
<!-- BEGIN SubcategorySeparator --><!-- END SubcategorySeparator -->
<!-- BEGIN SubcategoriesTail --> <a class="EasyStreetDataLink" href="{SubcategoriesTailLink_Src}">More...</a> <!-- END SubcategoriesTail -->
<!-- BEGIN CategorySeparator -->
<hr><!-- END CategorySeparator -->
<!-- BEGIN ColumnSeparator --><!-- END ColumnSeparator --></td>
</tr>
<!-- END Category -->
<!-- BEGIN NoCategories -->
<tr>
<td class="EasyStreetDataTD" valign="top" colspan="5">No categories found </td>
</tr>
<!-- END NoCategories -->
</table>
<!-- END Directory TForumList -->
Dominique van der Wal
|
|
|
 |
|