Recent Topics

1 Feb 06, 2006 18:57    

I'm wondering how to setup the category listing to NOT show up for the "blog ALL" Blog, I find that the blog all category listing is very large when there are numerous blogs.

I'm assuming you could wrap the _categories.php include in some code which checked if the current blog was the all blog and then NOT display if true.

Thanks,

2 Feb 06, 2006 22:21

How about this:


<?php if ($blog != 1) {
?>
        <div class="bSideItem">
                <h3><?php echo T_('Categories') ?></h3>
                <?php // -------------------------- CATEGORIES INCLUDED HERE -----------------------------
                        require( dirname(__FILE__).'/_categories.php' );
                        // -------------------------------- END OF CATEGORIES ---------------------------------- ?>
        </div>
<?php 
} 
?>


Form is loading...