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
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 712
Location: Vancouver Island

PostPosted: Sun Jul 31, 2011 11:52 am Reply with quote

RN2.4 I have a number of external rss feeds configured for CenterDown Blocks. It works great when News is in Home and a user is logged in ... this is the nominal situation. Now I want to change it up.

I have custom module for Anonymous which is by default the domain index page. I would like to add these CenterDown Blocks to this mymodule/index.php page.

My workaround is a hardcoding of the rss feeds and including it in the mymodule/index.php file, but now when I update feeds I have work in two places. Sad

I want to include the code to display those CenterDown blocks on my custom module page.

I've looked through everything I could think of to solve this issue, but need the guru minds here. Please help.

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
CodyG
PostPosted: Sun Jul 31, 2011 12:41 pm Reply with quote

I think something like this might work.... Smile

define('HOME_FILE', true);

Not sure why that's working, but as long as I set the CenterDown permissions to all visitors, then all is good.
 
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sun Jul 31, 2011 2:05 pm Reply with quote

in your module, where you want the blocks visible, add
Code:
 blocks('d');

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail 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 ©