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
knightheart
New Member
New Member


Joined: Dec 23, 2006
Posts: 6

PostPosted: Sat Dec 23, 2006 5:37 am Reply with quote

Hi!

Im trying to find a way to make both blocks and modules
visible overall in the pages, does any one have a solution
it wont be hidden on some pages?

best reguards KnightHeart/Sweden
 
View user's profile Send private message
jjh221
Worker
Worker


Joined: Dec 05, 2006
Posts: 178

PostPosted: Sat Dec 23, 2006 7:03 am Reply with quote

Only registered users can see links on this board! Get registered or login!


add

Code:
define('INDEX_FILE', true); 
to the index file of your mod.
 
View user's profile Send private message
knightheart
PostPosted: Sat Dec 23, 2006 8:21 am Reply with quote

I have the mosd on the left side showing but the blocks on the right gets hidden on some pages or if they simply excluded, i want blocks on the right allways on.
 
jjh221
PostPosted: Sun Dec 24, 2006 2:35 am Reply with quote

what pages are you wanting to see right side blocks?
 
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Sun Dec 24, 2006 8:26 am Reply with quote

The themefooter function that's in the theme.php file of your theme checks to see if index file is set to true (as suggested by the previous poster). Each module has the ability to turn the constant INDEX_FILE on or off -- that is set it to true.

You could hack themefooter to always do a blocks('r') ... but the results wouldn't be guaranteed. Plus if you were using multiple themes you'd have to hack them all. Blocks is a function in mainfile that checks the blocks table and presents blocks depending on where their location is set to, left, right, center or down. You could also modify the index.php of all your modules to set index_file on (as suggested) but again you'd need to test to see how this works on your system.
 
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 -> 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 ©