PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
janeuk
Regular
Regular


Joined: Oct 13, 2007
Posts: 55

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

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: 15229
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
janeuk
Regular
Regular


Joined: Oct 13, 2007
Posts: 55

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

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


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum