Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
NeapolitanWorld
Involved
Involved


Joined: Nov 06, 2005
Posts: 337
Location: Los Angeles, USA

PostPosted: Sun Jan 11, 2009 11:23 am Reply with quote

In my RavenNuke install I'm using coppermine. I have a problem with the themes which come with Raven displaying right module in the gallery. In coppermine config there is an option to show/hide right module, however it is not recognizing it.
In RavenIce I see this "$hide_blocks_left = array('Forums');" in the theme.php file. Is there some thing I can add so it will not display right blocks in the gallery?
I tried $hide_blocks_right = array('coppermine'); with no luck Sad

Thanks in advance everyone,
jc
 
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sun Jan 11, 2009 12:11 pm Reply with quote

In the module you want to turn off right blocks you should find the following code.

Code:


define('INDEX_FILE', true); //comment this out to hide right blocks
if (defined('INDEX_FILE')) { $index = 1; } else {$index = 0; } // auto set right blocks for pre patch 3.1 compatibility
 
View user's profile Send private message
NeapolitanWorld
PostPosted: Sun Jan 11, 2009 12:47 pm Reply with quote

"In the Module", do you mean in my coppermine module, not the theme.php file which I'm using?
If it's he theme.php file I could only find something similar to the code you wrote:

if(defined('INDEX_FILE')) {
// right blocks are showing
echo '<div id="middle"><!-- center column -->';
}
else
{
// right blocks are NOT showing
echo '<div id="middle_alt"><!-- center column -->';
}

but not the same. I tried to comment it out but just brought the site down.

Thanks for the reply,
jc
 
jakec
PostPosted: Sun Jan 11, 2009 12:50 pm Reply with quote

It would be within the coppermine module.
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Sun Jan 11, 2009 7:14 pm Reply with quote

Neo, send me an email to remind me tomorrow and I'll sort it out for you.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©