Yootheme joomla template 2.5 remove content block in front page
I'm manage to remove content part in front page (inner page still remain) in yootheme joomla 2.5, after go through several post and tutorial, I added following into a code:

    <?php
    $menu = & JSite::getMenu();
    if($menu->getActive() !== $menu->getDefault()) : 
    ?>

	<jdoc:include type="component" />

    <?php endif;  ?>


after the hacked of the code, the content block was successfully removed the frontpage  article, but the block is still appear as blank box, however I've try System Output setting selected to NO in backend, but the content block was unable to display from front and inner page, how can I totally kick the frontpage blank box away? 

Please advise & thanks!
Yootheme joomla template 2.5 remove content block in front page
===

I'm manage to remove content part in front page (inner page still remain) in yootheme joomla 2.5, after go through several post and tutorial, I added following into a code:

    <?php
    $menu = & JSite::getMenu();
    if($menu->getActive() !== $menu->getDefault()) : 
    ?>

	<jdoc:include type="component" />

    <?php endif;  ?>


after the hacked of the code, the content block was successfully removed the frontpage  article, but the block is still appear as blank box, however I've try System Output setting selected to NO in backend, but the content block was unable to display from front and inner page, how can I totally kick the frontpage blank box away? 

Please advise & thanks!