Webmastersite.net
Register Log In

Category Types

Title Category Types
Message Text I've upgraded to 3.3.4 from 3.3.0 over the weekend and I now have a problem with category types. I have 3 different category types: Regular (the default), Location and Standard. The official names are Regular, Loc and Std. On my main index I only want to call the categories in the Standard group and so enter the following in my template:
<!-- BEGIN CATSBODY -->
<table width="100%" align="center" cellpadding="5" cellspacing="5">
<!-- BEGIN STD -->
<td {CATWIDTH} valign="top" class="category">
<img src="templates/default/images/folder.gif" alt="folder"> <a href="index.php?action=displaycat&catid={CATID}" class="categoryname">{CATNAME}</a>
</td>
<!-- END STD -->
</table>
<!-- END CATSBODY -->
The output generated is this:
<!-- BEGIN CATSBODY -->
<table width="100%" align="center" cellpadding="5" cellspacing="5">

</table>
<!-- BEGIN CATSBODY -->
<table width="100%" align="center" cellpadding="5" cellspacing="5">

</table>
<!-- BEGIN CATSBODY -->
<table width="100%" align="center" cellpadding="5" cellspacing="5">

</table>
<!-- END CATSBODY -->
The same also happens if I try to show just the LOC categories. The only way I can get any categories at all to show on the main page is by selecting regular in my template which then shows all categories. This did work in 3.3.0.
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership themanwho
Views 482 views. Averaging 0 views per day.
Similar Topics
Submission Date Jan 23, 2006 - 2:36 AM