I´m trying to get my forum to open in full screen, whitout the left blocks (menus). At first, I´ve edited
the theme.php file, adding the following lines in it:
global $name;
if ($name=='Forums') { }
else if ($name=='Members_List') { }
else if ($name=='Private_Messages') { }
else {
blocks(left);
After installing JAG_online, this isn´t working anymore, the left blocks are still there and I don´t
know how to fix it.
If somebody knows how to do it, I´d appreciate some help.
[php:1:0812ffb75f]print $r_file; // <- this might not be in your theme
blocks(left);[/php:1:0812ffb75f]
change into :
[php:1:0812ffb75f] print $r_file; // <- if not in your theme, remove
switch($name){
case "Forums":
break;
default:
blocks(left);
break;
}[/php:1:0812ffb75f]
if you want to add more modules without the left blocks, just add theme in above:
example, you want to add the Downloads :
[php:1:0812ffb75f] print $r_file; // <- if not in your theme, remove
switch($name){
case "Forums":
break;
// Add the Downloads
case "Downloads":
break;
// End Downloads
default:
blocks(left);
break;
}[/php:1:0812ffb75f]
_________________ Te Lezen: Forum Regels | Te Gebruiken
Donaties
Adverteren
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum