Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Support (1.77) > READ FIRST: Two Center Blocks in PHP-Nuke


 < Last Thread   Next Thread >New Topic
Author: Subject: READ FIRST: Two Center Blocks in PHP-Nuke

Administrator





Posts: 4607
Registered: 10/7/2002
Status: Online

  posted on 5/8/2006 at 07:13 PM
PHP-Nuke and some of the forks 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, look for:

if (defined('HOME_FILE')) {
message_box();
blocks("Center");
}

And replace with:

if (defined('HOME_FILE')) {
message_box();
if (!defined('AUTOTHEME_THEME_INITIALIZED')) {
blocks('Center');
}
}

-Shawn

[Edited on 3/18/2009 by Shawn]

 
Visit User's Homepage
New Topic  


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 155

Powered by the AutoTheme HTML Theme System
Page created in 0.087102 Seconds