View Single Post
  #2 (permalink)  
Old 12-29-2006, 05:08 PM
wdtice wdtice is offline
Junior Member
 
Join Date: Sep 2006
Posts: 2
Found Correction in PHP-Nuke 7.X Right Blocks
Not easy to follow but did correct issue

Originally Posted by Frostblade
This was the fix for 7.8 I used with the subBlack3d theme. It was in the README with the 3.2 patch:

1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
to:
define('INDEX_FILE', true);
In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {

2- Additional changes for third party add-ons:
if ($mainfile == 1) {
should be changed to:
if (defined('NUKE_FILE')) {

if ($module == 1) {
should be changed to:
if (defined('MODULE_FILE')) {

if ($footer == 1) {
should be changed to:
if (defined('NUKE_FOOTER')) {

if ($header == 1) {
should be changed to:
if (defined('NUKE_HEADER')) {
Reply With Quote