View previous topic :: View next topic |
Author |
Message |
ethereal -
Joined: 14 Jan 2004 Posts: 18
|
Posted: Sun Jan 18, 2004 7:48 am Post subject: News Script Problems |
|
|
I installed apnews successfully, but I can't seem to figure out how to make the news page my homepage. I'm very new at this whole php stuff, and I'm learning as I go along. The readme said
"Step 7: Using the outputted news
---------------------------------
Use the following code to place the news on your site:
PHP:
<?php include("/path/to/script/news.php"); ?>"
This is were I got a little confused. I know about what path I should type in, but I don't know were I type it. Is it index.php in my htdocs folder? Is it another php file? Do I make a new php file and paste that in there?
I already got phpbb set up, but I wan't a professional looking website, so I need more then just a forum. I think AP should do the trick..
I already posted in apnews forums, but there forums are dead...
I also tried cutenews and had the same problem. Can anyone point me in the right direction? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Jan 18, 2004 2:56 pm Post subject: Re: News Script Problems |
|
|
According to what we understand, replace /path/to/script/news.php withe full path of the PHP news script you've setup. So if its full path is c:/scripts/apnews/news.php, include the following line in your index.php file:
Code: | <?php include("/path/to/script/news.php"); ?> |
to show the news. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|