Author |
Message |
badkemo
Worker


Joined: Mar 31, 2004
Posts: 111
|
Posted:
Mon Sep 26, 2005 9:27 pm |
|
Hi!
I have a problem on phpnuke7.8 when i installed the pach i cant get the right blocks to display on index.php i have checked if the blocks were active and they are I also creted new ones but it wont display them on index.php
is there a trick on it? or do i have an error?
here you can see the web http://www.bosanci.net/kemo/php/index.php
I appriciate the answer
thank you |
|
|
|
 |
badkemo

|
Posted:
Mon Sep 26, 2005 11:21 pm |
|
I think I found a solution to this problem in readme.txt in the phpnuke7.8 pach folder
Important notes relating to Nuke Patched 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')) { |
|
|
|
 |
spork
Hangin' Around

Joined: May 12, 2005
Posts: 37
|
Posted:
Wed Oct 05, 2005 5:08 pm |
|
i just got nuke 7.6 with the 3.1 patch..this is the only patch ive put on it period..
i have no addons at this point at all what so ever
i have no special blocks there for i wouldent need to change any codeing except in my theme
this is my theme code that i changed and it does not work for me
if (defined('INDEX_FILE')) {
echo"</td>"
. " <td width=\"170\" valign=\"top\">"
."";
blocks(right);
}
echo"</td>"
. " <td width=\"41\" valign=\"top\" background=\"themes/KAOS/images/right.jpg\"><img src=\"themes/KAOS/images/right.jpg\" width=\"41\" height=\"2\"></td>"
. " </tr>"
. "</table>"
."";
include("themes/KAOS/footer.php");
must be something in other files of the theme i missed?
downloads weblinks
(listed above works with right side blocks)
(news journal statistics stories archive submit news the list goes on and) on some of them work with right side blocks some dont?
please sho me the light raven or someone that knows thankyou |
|
|
|
 |
spork

|
Posted:
Wed Oct 05, 2005 5:52 pm |
|
nevermind im gunna dl your download for it raven  |
|
|
|
 |
Themis
Worker


Joined: Nov 17, 2003
Posts: 131
|
Posted:
Wed Oct 05, 2005 6:32 pm |
|
I have Raven's download of 7.6/3.1 and I still have to edit my theme files. It is just the one line of code for it is all.
PostPosted: Thu Sep 29, 2005 9:57 pm Post subject: Reply with quote
in the theme.php file edit this line in the footer section
if ($index == 1) {
to
if (defined('INDEX_FILE')) {
Has worked on all the themes I've tried it on so far. |
_________________ Shonierose
Shonie's Retreat
www.shonie.com |
|
|
 |
spork

|
Posted:
Wed Oct 05, 2005 6:37 pm |
|
good then i should have no problems with this lol
i think the problem started becase i downloaded phpnuke then i added what nuke scripts had to add to it..who knows lol..thanks thoe |
|
|
|
 |
Themis

|
Posted:
Fri Oct 07, 2005 9:43 pm |
|
Well it seemed like this was working......but now I have no right blocks again :/ Anyone else have any luck? |
|
|
|
 |
spork

|
Posted:
Fri Oct 07, 2005 10:06 pm |
|
mine works correctly..
i redownloaded ravens version and that works perfectly..
the patch is included ..
you dont have to nothing but make one theme edit..
my adivce is if ya downloaded anything elce but ravens download get his and trash the other |
|
|
|
 |
Themis

|
Posted:
Fri Oct 07, 2005 10:43 pm |
|
I have Raven's. I figured it out, it was MetOpen_Home_Page mod I wanted to use. When I put news back all was well.  |
|
|
|
 |
spork

|
Posted:
Fri Oct 07, 2005 10:52 pm |
|
hey cool good deal..wich site is it u are working on? |
|
|
|
 |
Themis

|
Posted:
Sat Oct 08, 2005 8:03 am |
|
www.shonie.com Still looking at themes and such. Think I found some at lorkan last night that I like.... |
|
|
|
 |
|