Remove right column for forums only?
Hi!
I want to have the right column in all pages but the forums. (I am using 1.8.4, will be upading to 1.8.5 today).
I did put if statement in tiki-section_options.php, so i wrote:
if($section == "forums")
{
if $$section_top_bar {
$smarty->assign('feature_top_bar', $$section_top_bar);
$smarty->assign('feature_bot_bar', $$section_bot_bar);
$smarty->assign('feature_left_column', $$section_left_column);
} else {
$smarty->assign('feature_top_bar', 'y');
$smarty->assign('feature_bot_bar', 'y');
$smarty->assign('feature_left_column', 'y');
}
}
else
{
if $$section_top_bar {
$smarty->assign('feature_top_bar', $$section_top_bar);
$smarty->assign('feature_bot_bar', $$section_bot_bar);
$smarty->assign('feature_left_column', $$section_left_column);
$smarty->assign('feature_right_column', $$section_right_column);
} else {
$smarty->assign('feature_top_bar', 'y');
$smarty->assign('feature_bot_bar', 'y');
$smarty->assign('feature_left_column', 'y');
$smarty->assign('feature_right_column', 'y');
}
}
But it still displays the right column in the forums...why so?
Thanks a lot in advance!