Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Boardin087 on April 17, 2008, 05:05:05 PM

Title: Removing child forums from main index
Post by: Boardin087 on April 17, 2008, 05:05:05 PM
anyway to do this? I still want them to exist but not seen from the main forum, only once you view the parent forum.
Title: Re: Removing child forums from main index
Post by: Kindred on April 17, 2008, 05:15:55 PM
you will have to edit boardindex.template.php to remove these from display
Title: Re: Removing child forums from main index
Post by: ccbtimewiz on April 17, 2008, 08:26:52 PM
Quote from: Kindred on April 17, 2008, 05:15:55 PM
you will have to edit boardindex.template.php to remove these from display

What he said. :P
Title: Re: Removing child forums from main index
Post by: Bulakbol on April 18, 2008, 06:51:04 AM
Yes, edit your BoardIndex.template.php. Find and either delete or comment-out (//) the whole block.

if (!empty($board['children']))
{
   ....
}