Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Doulos
Life Cycles Becoming CPU Cycles


Joined: Jun 06, 2005
Posts: 633

PostPosted: Mon Mar 05, 2012 8:07 am Reply with quote

I am drawing a blank here. How do I get the center down block and right blocks to show up on all pages?


Last edited by Doulos on Mon Mar 05, 2012 8:43 am; edited 1 time in total 
View user's profile Send private message
Doulos
PostPosted: Mon Mar 05, 2012 8:14 am Reply with quote

Ok, figured that out. How about the center down block? How do I get it to show up on all pages?

Also, is it possible to choose only certain modules to have the right/center blocks show (e.g. forums, yes; but, admin, no)?
 
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Mar 05, 2012 8:48 am Reply with quote

Control of the center down block is located in footer.php

You could use something like this
Code:
$use_centerblocks = array('Forums', 'Some_Module');

global $name
if (defined('HOME_FILE') OR in_array($name, $use_centerblocks)){
// do stuff
}
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

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 ©