Webmastersite.net
Register Log In

main page layout, cats' and subcats

Title main page layout, cats' and subcats
Description How to edit the main page catagories
Message Text I've tried a number of things to get the catagories to show up with the subcat's below them on the main page. The code for the main page; <!-- BEGIN CATSBODY --> <table align="center" cellpadding="5" cellspacing="10"> <!-- BEGIN REGULAR --> <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> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}<br> <IF {CATHASDESCRIPTION}>{CATDESCRIPTION} <br></IF> <IF {SWITCH_FORUMVIEWS}>{CATVIEWS} views<br></IF> <div class="subcatsmainpage"> <!-- BEGIN SUBSUB --> <a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a>, <!-- END SUBSUB --> </div> </td> <!-- END REGULAR --> </table> <!-- END CATSBODY --> Because {CATNAME} is listed after displaycat&catid={CATID}">{, my catagores show up as subcatagories as well. I tried puttin gin catsubcat (sic) but that didn't work. Maybe I have to also edit another page? Any help appreciated.
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership af_mike
Views 487 views. Averaging 0 views per day.
Similar Topics
Submission Date May 26, 2006 - 6:20 PM