Webmastersite.net
Register Log In

Category Types not showing

Comments on Category Types not showing

tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
Posted Nov 06, 2005 - 10:38 AM:

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:

<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 width="19"><img name="home_r3_c5" src="https://www.webmastersite.net/forums/templates/default/images/home_r3_c5.gif" width="19" height="192" border="0" alt=""></td>

<td valign="top" bgcolor="#F09C6E" width="208"><p>
<!-- BEGIN CATSBODY -->
<!-- BEGIN JRGROUP -->
<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 JRGROUP -->
<!-- END CATSBODY -->
</td>

<td width="16"><img name="home_r3_c7" src="https://www.webmastersite.net/forums/templates/default/images/home_r3_c7.gif" width="16" height="192" border="0" alt=""></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.

Here is how the page is rendered:

td colspan="2" valign="top" bgcolor="#F09C6E" width="195"><p>

<!-- BEGIN CATSBODY -->
<!-- END GROUPAI -->
<!-- BEGIN CATSBODY -->
<!-- BEGIN GROUPAI -->
<a href="index.php?action=displaycat&catid=1" class="categoryname">A,B,C</a> (0) <br>
<a href="index.php?action=displaycat&catid=2">Amateurs</a>,

<a href="index.php?action=displaycat&catid=3">Astro</a>,

<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>

<td width="19"><img name="home_r3_c5" src="https://www.webmastersite.net/forums/templates/jack/images/home_r3_c5.gif" width="19" height="192" border="0" alt=""></td>

<td valign="top" bgcolor="#F09C6E" width="208"><p>
<!-- BEGIN CATSBODY -->
<!-- BEGIN JRGROUP -->

<a href="index.php?action=displaycat&catid=1" class="categoryname">A,B,C</a> (0) <br>
<!-- BEGIN SUBSUB -->
<a href="index.php?action=displaycat&catid=1">A,B,C</a>,
<!-- END SUBSUB --> </p>
<!-- END JRGROUP -->
<!-- END CATSBODY -->
</td>

<td width="16"><img name="home_r3_c7" src="https://www.webmastersite.net/forums/templates/jack/images/home_r3_c7.gif" width="16" height="192" border="0" alt=""></td>

<td colspan="3" valign="top" bgcolor="#F09C6E" width="200"><p>
<!-- BEGIN CATSBODY -->
<!-- BEGIN SZGROUP -->
<a href="index.php?action=displaycat&catid=1" class="categoryname">A,B,C</a> (0) <br>
<!-- BEGIN SUBSUB -->
<a href="index.php?action=displaycat&catid=1">A,B,C</a>,
<!-- END SUBSUB --></p>
<!-- END SZGROUP -->
<!-- END CATSBODY -->
</td>


If I understand the documentation and examples, this should work?
Or there is another way?
Thanks.
din
Experienced

Usergroup: Customer
Joined: May 12, 2003

Total Topics: 5
Total Comments: 56
din
Posted Nov 06, 2005 - 5:45 PM:

I've use multiple cat types with 3.3.0 ..
you can only put in

<!-- BEGIN CATSBODY -->

<!-- END CATSBODY -->
one time .. at the very beginning and end of /all/ your different category types, not the beginning and end of each set.
tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
Posted Nov 07, 2005 - 7:37 AM:

Oh, I've tried that too. However, it produces even wilder results.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 10, 2005 - 9:12 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 12, 2005 - 10:11 AM:

Category types are fixed.
sparkalina
Forum Regular

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 70
Total Comments: 211
Posted May 08, 2006 - 2:28 PM:

Paul wrote:
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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 08, 2006 - 6:24 PM:

KB and Links use the same files. Only the templates and some control switches and a couple links-specific files differ.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.