>>  Site Map >>  Forums >>  Blocks 6x

Forum module - topics in forum:



Blocks 6x - Discussions regarding PHP-Nuke Blocks.



[Resolved] Removing left hand blocks

Hi - is there a way of removing the blocks on the left hand side so I only have a centre section for new and no columns either side?

Cheers,

Tom






You could just deactivate the left and right blocks ?

I know how you feel though, I'd like the option of turning the left blocks
off when people go to the forum, so the forum fills up the page fully rather than the left blocks taking up space also, but I'd still like the left blocks visible from everywhere else on the site.






http://phpnuke-uk.net/modules.php?name=Forums&file=viewforum&f=10 Rolling Eyes






Thanks. Didn't work for me though Sad

EDIT: Ok, actually played around a tiny bit and instead of doing this...

Code: :
global  $admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $db, $nukeurl, $anonymous; $name;


I done this...

Code: :
global  $admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $db, $nukeurl, $name; $anonymous;


It then worked great Smile

So thanks dude, thats sorted me out !!!

PS., I'm running PhpNuke 7.0 for what it's worth.






The reason that worked is becasue you changed the $name onto the first line. In php ";" means end of line so by having the $name after the ";" as you had in the top it wouldnt work. The correct way wourld be to remove the ";" and reaplce it with a "," then put a new ";" at the end of the line like so.
Code: :
global  $admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $db, $nukeurl, $anonymous, $name;

You need the $anonymousfor very little but if you did need it you will get and error as it is not included on the global line.






Thanks for clearing that up Dashe, I've updated code now.






No problem Cool




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS