How do I hide the menus on the left and right while viewing SMF.
I posted at joomla hacks my problem
www.joomlahacks.com/component/option,com...temid,94/topic,732.0
Someone at joomlahacks said to use the following code:
<tr class="canvas_main">
<!-- MAIN -->
<?php
$_opt = "";
if (isset($_REQUEST)) $_opt = $_REQUEST; ?>
<!-- MENU -->
<?php if ( mosCountModules("left") && $_opt != "com_smf") { ?>
<td width="190" valign="top"><img src="<?php echo $mosConfig_live_site;?>/templates/mambohacks3/images/blank.gif" alt="" width="180" height="1" /> <?php mosLoadModules ('left', -3); ?></td>
<?php } ?>
</tr>
I using that code did not work with my div tags.
Is there something I can do that will work with my css code:
<?php if (mosCountModules('left')) { ?>
<div id="sidebar">
<div class="inside">
<?php mosLoadModules('left',-2);?>
</div></div>
<?php } ?>
</div>
Any ideas?