| Author |
Message |
mars |
|
|
Post subject: Double Center Blocks in PHPNuke Theme
Posted: Dec 21, 2006 - 12:51 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4217
Status: Offline
|
|
PHP-Nuke 7.9 (and possibly 8.x), Platinum and Evo have hardcoded the message and center block display so there is no way for AutoTheme to turn them off.
There are two choices:
1. Turn off the center blocks in AutoTheme (the disadvantage is that you can't control/theme them as you can the other blocks).
2. Edit header.php, line 59, and comment out:
message_box();
blocks("Center");
So it looks like this:
//message_box();
//blocks("Center");
http://www.spidean.com/SpideanForums-vi ... 4388.phtml |
Last edited by mars on Dec 09, 2007 - 10:59 PM; edited 2 times in total
|
| |
|
|
|
 |
BRAVO2 |
|
Post subject: RE: Double Center Blocks in PHPNuke Theme
Posted: Jun 27, 2008 - 08:45 AM
|
|
Joined: Jun 22, 2008
Posts: 5
Status: Offline
|
|
sweet, thanks for the link!
=BRAVO2= |
|
|
| |
|
|
|
 |
[UC[]Stephen |
|
Post subject:
Posted: May 31, 2009 - 05:48 PM
|
|
Joined: May 29, 2009
Posts: 26
Status: Offline
|
|
yea thanks this removes the block issue but it also removes my message box that i need i can set it so it just removes the unwanted blocks but the center blocks keep pushing my message down is there a way that i can put the message above the center blocks now or no?
maby 1. Turn off the center blocks in AutoTheme (the disadvantage is that you can't control/theme them as you can the other blocks).
would fix it how can i do this |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: May 31, 2009 - 09:32 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4217
Status: Offline
|
|
| Just open theme.html and reverse the tags for center-blocks and modules. |
|
|
| |
|
|
|
 |
|
|
|
|