I'm trying to set up on the main page 3 rows and each row having a separate and different Top Level Category type, here is the snippit of main.tpl html code:
<td colspan="2" valign="top" bgcolor="#F09C6E" width="195"><p> <!-- BEGIN CATSBODY --> <!-- BEGIN GROUPAI --> <a href="index.php?action=displaycat&catid={CATID}" class="categoryname">{CATNAME}</a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}<br> <IF {SWITCH_FORUMVIEWS}>{CATVIEWS} views<br></IF> <!-- BEGIN SUBSUB --> <a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a>, <!-- END SUBSUB --></p> <!-- END GROUPAI --> <!-- END CATSBODY --> </td>
<td colspan="3" valign="top" bgcolor="#F09C6E" width="200"><p> <!-- BEGIN CATSBODY --> <!-- BEGIN SZGROUP --> <a href="index.php?action=displaycat&catid={CATID}" class="categoryname">{CATNAME}</a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}<br> <IF {SWITCH_FORUMVIEWS}>{CATVIEWS} views<br></IF> <!-- BEGIN SUBSUB --> <a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a>, <!-- END SUBSUB --></p> <!-- END SZGROUP --> <!-- END CATSBODY --> </td>
I'm not sure if it's a bug or I'm doing something wrong. The first category type show's up fine. However the other types don't show or display "Top Level". If I use the default Type "regular" all the types show up in one row.
If I log out as admin the "Top Level" link disappears and the First category shows as both the Top Level and the SUB-category.
<a href="index.php?action=displaycat&catid=4">Anime</a><!-- END SUBSUB --></p> <!-- BEGIN GROUPAI --> <a href="index.php?action=displaycat&catid=7" class="categoryname">D,E,F</a> (0) <br>
<!-- END SUBSUB --></p> <!-- END GROUPAI --> <!-- BEGIN CATSBODY --> <!-- END GROUPAI --> <!-- BEGIN CATSBODY --> <!-- END GROUPAI --> <!-- END CATSBODY --> </td>
Well, doing it the right way instead of using a completely nonsenical template is still better even if it doesn't work, since it would provide a clear example to test. As it is I'll go through and invent some category types.
Has the Category Types been fixed in the test version of WSN KB? I'm playing around with this software for a client (downloaded last week), trying to learn the differences from WSN links to KB before my client purchases it.
Because I'm currently having the exact same problem as the original poster.
Comments on Category Types not showing
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
PHP4.4, Apache2 MySQL 4.0.25
I'm trying to set up on the main page 3 rows and each row having a separate and different Top Level Category type, here is the snippit of main.tpl html code:
I'm not sure if it's a bug or I'm doing something wrong. The first category type show's up fine. However the other types don't show or display "Top Level".
If I use the default Type "regular" all the types show up in one row.
If I log out as admin the "Top Level" link disappears and the First category shows as both the Top Level and the SUB-category.
Here is how the page is rendered:
If I understand the documentation and examples, this should work?
Or there is another way?
Thanks.
Experienced
Usergroup: Customer
Joined: May 12, 2003
Total Topics: 5
Total Comments: 56
I've use multiple cat types with 3.3.0 ..
you can only put in
one time .. at the very beginning and end of /all/ your different category types, not the beginning and end of each set.
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
Oh, I've tried that too. However, it produces even wilder results.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well, doing it the right way instead of using a completely nonsenical template is still better even if it doesn't work, since it would provide a clear example to test. As it is I'll go through and invent some category types.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Category types are fixed.
Forum Regular
Usergroup: Customer
Joined: Nov 26, 2003
Total Topics: 70
Total Comments: 211
Category types are fixed.
Has the Category Types been fixed in the test version of WSN KB? I'm playing around with this software for a client (downloaded last week), trying to learn the differences from WSN links to KB before my client purchases it.
Because I'm currently having the exact same problem as the original poster.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
KB and Links use the same files. Only the templates and some control switches and a couple links-specific files differ.