Author |
Message |
Turion
New Member
Joined: Jan 08, 2006
Posts: 1
|
Posted:
Mon Jan 09, 2006 2:35 am |
|
Hello,
I installed the new RavenNuke 7.6 2.0 and it works great, except that most of the themes are missing the Right Blocks.
Is there some code that I can add to allow me to have the Right Blocks back?
Thanks
T |
|
|
|
|
dezina
Theme Guru
Joined: Dec 26, 2002
Posts: 57
Location: UK
|
Posted:
Mon Jan 09, 2006 2:57 am |
|
Code:In your theme.php find:
if ($index == 1) {
and change to:
if (defined('INDEX_FILE')) {
|
|
|
|
|
|
Raven
Site Admin/Owner
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Jan 09, 2006 3:23 am |
|
|
|
|
Raven
|
Posted:
Mon Jan 09, 2006 5:36 am |
|
Turion, I am puzzled. All of the themes included with the distribution have the correct code in them and the right blocks are there. Are you using the ones I packaged or are you using your old themes and copied them over instead? |
|
|
|
|
beerfrog
Regular
Joined: Sep 11, 2005
Posts: 54
Location: Sweden
|
Posted:
Mon Jan 09, 2006 8:09 am |
|
Raven wrote: | Turion, I am puzzled. All of the themes included with the distribution have the correct code in them and the right blocks are there. Are you using the ones I packaged or are you using your old themes and copied them over instead? |
I just installed raven v2 and it was smoth and easy setup.
But when changing to "traditionel" theme that comes with the package I lose the right blocks, changing back to ravens default theme (fis...) brings them back...
Anyone else have this problem?
Cheers / B |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
|
Raven
|
Posted:
Mon Jan 09, 2006 10:10 am |
|
Hmmmm. Okay, I guess I better look into this more. Specifically, what theme did you try that caused the right blocks to disappear? |
|
|
|
|
Guardian2003
Site Admin
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Mon Jan 09, 2006 10:18 am |
|
Locate file themes/Traditional/theme.php
Find Code:function themefooter() {
if (defined('INDEX_FILE')) {
|
Change to Code:function themefooter() {
global $index
if (defined('INDEX_FILE')) {
|
See if that helps.
FYI I dont think the 'Traditional' theme has ever had right blocks on by default. |
|
|
|
|
Raven
|
Posted:
Mon Jan 09, 2006 10:27 am |
|
- I wasn't thinking the theme name was Traditional I was thinking of the word as a term and not an object. Thanks G.! |
|
|
|
|
beerfrog
|
Posted:
Mon Jan 09, 2006 1:23 pm |
|
Raven wrote: | - I wasn't thinking the theme name was Traditional I was thinking of the word as a term and not an object. Thanks G.! |
Now thats funny
I'll try G's fix tomorrow at work.
Just installed Fedora here at home and when it comes to Linux i'm a REAL novice, but one's gotta try things to learn, right!?
Cheers / B |
|
|
|
|
beerfrog
|
Posted:
Mon Jan 09, 2006 1:35 pm |
|
beerfrog wrote: | Raven wrote: | Turion, I am puzzled. All of the themes included with the distribution have the correct code in them and the right blocks are there. Are you using the ones I packaged or are you using your old themes and copied them over instead? |
I just installed raven v2 and it was smoth and easy setup.
But when changing to "traditionel" theme that comes with the package I lose the right blocks, changing back to ravens default theme (fis...) brings them back...
Anyone else have this problem?
Cheers / B |
I just realized I made a misstake here!
When doing the above I loose the LEFT-Blocks!
Not Right blocks as posted earlier!
This happens when I change default theme for site in admin preferences.
I if I choose "TRADITIONAL" as default i loose left side blocks, changing back brings 'em back!
Just so you know...
I aint gonna use trad, just saw it while playing around with my new smooth install!
Cheers / B |
|
|
|
|
Raven
|
Posted:
Mon Jan 09, 2006 2:32 pm |
|
The theme's were all supposed to updated throguh the 3.1 PatchLevel updates, if they had right blocks in the first place. I will review the coding in all the themes before the next release. Thanks. |
|
|
|
|
spacy
Hangin' Around
Joined: Oct 25, 2005
Posts: 46
Location: Hamburg/Germany
|
Posted:
Mon Jan 16, 2006 4:12 pm |
|
I have the problem that my right blocks do not appear. Only the modules News and coppermine work fine. I use the fisubice-theme but with other themes is the side also not working. I have just setup an other side only with the distro and there is the same problem. My other sides with Nuke-Platinum and Nuke are woking fine after adding $index = 1;
What could be the problem?
Thanks, spacy |
|
|
|
|
Raven
|
Posted:
Mon Jan 16, 2006 6:07 pm |
|
Please read the FAQ. We have answered this question multiple times. |
|
|
|
|
spacy
|
Posted:
Tue Jan 17, 2006 2:12 am |
|
Raven, you mean this:
In your theme.php find:
if ($index == 1) {
and change to:
if (defined('INDEX_FILE')) {
Thats already so at my theme.php here you see:
// if ($index == 1) {
if (defined('INDEX_FILE')) {
But the right blocks do not appear |
|
|
|
|
Raven
|
Posted:
Tue Jan 17, 2006 4:06 am |
|
Yes, that should take care of it. |
|
|
|
|
spacy
|
Posted:
Tue Jan 17, 2006 4:09 am |
|
But it doesn't. I'm confused and don't not have more ideas... |
|
|
|
|
Raven
|
Posted:
Tue Jan 17, 2006 4:30 am |
|
Make sure that your modules have define('INDEX_FILE', true); in them for the ones that you want the right blocks to appear. |
|
|
|
|
spacy
|
Posted:
Tue Jan 17, 2006 4:37 am |
|
Thanks a lot that was the problem. |
|
|
|
|
spacy
|
Posted:
Tue Jan 17, 2006 4:54 am |
|
I have just seen that define('INDEX_FILE', true); does not work with the forums, private_message and the members_list-modules |
|
|
|
|
Guardian2003
|
Posted:
Tue Jan 17, 2006 9:53 am |
|
So I can test on my site, can you clarify which theme you are using please. |
|
|
|
|
spacy
|
Posted:
Tue Jan 17, 2006 10:11 am |
|
I use the fisubice-theme. |
|
|
|
|
Guardian2003
|
Posted:
Tue Jan 17, 2006 10:53 am |
|
And you have added that define to the define to the index.php files for those modules as per the readme? |
|
|
|
|
spacy
|
Posted:
Tue Jan 17, 2006 12:30 pm |
|
Yes i did define('INDEX_FILE', true); into the index.php of these three modules but nothing happend. |
|
|
|
|
Guardian2003
|
Posted:
Tue Jan 17, 2006 12:39 pm |
|
Please PM me your
web address
ftp log-in
admin and sentinel log-in
so I can take a look as this should be working for you.
Sorry Raven, looks like I have inadvertantly hijacked this thread. |
|
|
|
|
bfnuke
Hangin' Around
Joined: Feb 01, 2006
Posts: 43
|
Posted:
Wed Feb 08, 2006 10:15 am |
|
Just for grins, I just tried on forums and private messages as well, and it doesn't seem to add the right blocks back correctly. The right block seems to wrap to teh left side. Using the fisubice theme as well.
Sorry can't give login info as mine is on localhost for testing only... |
|
|
|
|
|