Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
janeuk
Regular
Regular



Joined: Oct 13, 2007
Posts: 61

PostPosted: Sat Nov 24, 2007 12:56 pm Reply with quote

Please can someone tell me how I can make a specific content module page the Home/Index page? I realise that I can put the Content Module in home, but I don't want a list of my content pages in home, I want a specific page that I have created to show.

Thanks for any help Smile
Jane
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Nov 24, 2007 10:27 pm Reply with quote

Create a new module with only that content page in it. Name the module whatever you want. Then activate it and place it in Home.
 
View user's profile Send private message
janeuk







PostPosted: Sun Nov 25, 2007 9:03 am Reply with quote

Thanks for your help Smile
 
Raven







PostPosted: Sun Nov 25, 2007 11:08 am Reply with quote

NP. If you don't want to have to keep up 2 copies of the content page then instead of manually including the html from the content page just use a line of code like this:

echo file_get_contents('http://example.com/modules.php?name=Content&pa=showpage&pid=1');

Of course you would change the example line to reflect your site.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 ©