Thread: Blocks Issue
View Single Post
  #5 (permalink)  
Old 02-26-2006, 06:19 PM
Robertw Robertw is offline
Junior Member
 
Join Date: Feb 2006
Location: Michigan
Posts: 5
Originally Posted by myrtletrees
It is simple.

If you did the first part to your theme.php file, your right blocks should now be visible.

If you have a module, like Recommend_Us that you want to have the right blocks SHOW up on when viewing that module, then you must add the second part to the modules index.php file.

Most of the default modules in PHP-Nuke already show the right blocks. The Recommend_Us module does not show the right blocks by default, so if you want them to show when viewing that module, you must add that last bit of code to the
/modules/Recommend_Us/index.php

this is the code you must add on it's own line
Code:
define('INDEX_FILE', true);
Well I have tried everything to make this stupid thing work and it just isn't working and it seems that there is nothing I can do but just give up. I sat the whole night pooring over everything and changing everything that needed to be changed and I still can't see my blocks on the right. I really tried people and I might as well just give up and deal with it, because I am sure not getting anywhere.

Thanks for all your help and maybe I will see you around.
Reply With Quote