SOLVED NOT Display Sub-forums On Forum.php?


Subject: NOT Display Sub-forums On Forum.php?
Hi,
I've recently installed the latest version of Icy Phoenix @ http://www.ozcruisecritics.com.au.
My problem is I have one section "Roll Calls" that will have several hundred sub-forums in the near future.
How do I stop sub-forums being listed under that forum on forum.php and thus blowing out the main page to extravagant length?

Thanks,
Bob

Profile PM  
Subject: Re: NOT Display Sub-forums On Forum.php?
Hey Bob,

Back up these files first and give this a try:

Open: ip_root/includes/functions_categories_hierarchy.php

Find and remove:

Code: [Download] [Hide] [Select]
'LINKS_ROWSPAN' => empty($links) ? '' : ' rowspan="2"',


Open: ip_root/templates/mg_themes/index_box.tpl
(Be sure to open index_box.tpl in the template you are using)

Find and remove:

Code: [Download] [Hide] [Select]
<!-- IF catrow.forumrow.LINKS -->
<tr>
<td class="row1h" style="padding:0px;">
<span class="gensmall">{catrow.forumrow.L_LINKS}&nbsp;</span><span class="forumlink2{XS_NEW}">{catrow.forumrow.LINKS}&nbsp;</span>
</td>
</tr>
<!-- ENDIF -->

Subject: Re: NOT Display Sub-forums On Forum.php?
Thanks for that! Worked a treat! :mryellow:

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1719s (PHP: 10% SQL: 90%)
SQL queries: 10 - Debug Off - GZIP Enabled