CZNews Module Problem - Right Blocks Disappear

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZNews Module Problem - Right Blocks Disappear
patchgonebad
CZ Newbie
 Codezwiz Site Donator
patchgonebad has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 12, 2005
0.00 posts per day
Posts: 10
Points: 2,231
   
I love this module, however, for some reason when I activate/put in home I lose all of my right blocks...very odd (with all themes). Anyone have an idea on this? I searched the forums and didn't find any similar issue. I am using Ravennuke



Back to top Reply with quote
#2   
craigmack
CZ Active Member
 Codezwiz Site Donator
craigmack has been a member for over 19 year's 19 Year Member
usa.gif michigan.gif
Age: 46
Gender: Male
Fav. Sports Team: Pistons
Status: Offline
Joined: Feb 15, 2005
0.02 posts per day
Posts: 147
Points: 6,072
   
in your index.php of the cznews mod add this
define('INDEX_FILE', true);



Back to top Reply with quote
#3   re: CZNews Module Problem - Right Blocks Disappear
patchgonebad
CZ Newbie
 Codezwiz Site Donator
patchgonebad has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 12, 2005
0.00 posts per day
Posts: 10
Points: 2,231
   
That fixed the problem. Thank you.



Back to top Reply with quote
#4   
craigmack
CZ Active Member
 Codezwiz Site Donator
craigmack has been a member for over 19 year's 19 Year Member
usa.gif michigan.gif
Age: 46
Gender: Male
Fav. Sports Team: Pistons
Status: Offline
Joined: Feb 15, 2005
0.02 posts per day
Posts: 147
Points: 6,072
   
no problem any modules you add to ravennuke will have to have this if you want the right blocks to show



Back to top Reply with quote
#5   
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
note this also , you need to change some lines in any php nuke versions which has patched by 3.1+




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')) {




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: CZNews Module Problem - Right Blocks Disappear
SFCMert
CZ Newbie
SFCMert has been a member for over 18 year's 18 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
OK, I am too using RavenNuke and I have the true statement in the index.php and the defined statement in the theme.php...and the right blocks still do not show?

Any help would be appreciated.



Back to top Reply with quote
#7   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Sorry I am not real familiar with ravennuke. Can you attach a copy of your theme.php?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: CZNews Module Problem - Right Blocks Disappear
SFCMert
CZ Newbie
SFCMert has been a member for over 18 year's 18 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
I will do that, thank you!...hmm it seems to not want to attach, had to save in word and attach, let me know if this works.



Attached Files
themephp.doc (47 KB, Downloaded: 5232 Time(s))


Back to top Reply with quote
#9   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Stick the theme.php in a zip file then attach it please.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: CZNews Module Problem - Right Blocks Disappear
SFCMert
CZ Newbie
SFCMert has been a member for over 18 year's 18 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
OK, here is a zip of it.



Attached Files
theme.rar (2.23 KB, Downloaded: 5233 Time(s))


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum