Site hosted by Angelfire.com: Build your free website today!
CuteNews README
 

 Information About The Script

 

CuteNews v.088 by CutePHP Team.

Cute news is a powerful and easy for using news management system that use flat files to store its database. It supports
 comments and archives that can be organized by months.
This script is open-source and you can use the code for anything you want but if make some major changes please
 contact us

 

 Installing CuteNews

 

The installation of CuteNews is really easy and you should do it without any problems if you fallow these steps:

 1) Create a directory on your server ( e.g. cutenews )
 2) Upload the content of the cutenews.088.zip to the directory you created in step 1
 3) Go to http://yoursite.com/folder_from_step1/install.php with you favorite browser
 4) After installation of CuteNews it is recommended that you delete the install.php from your server  

 

 Getting The News On Your Page...

 

You can show the news, headlines, archives on your page by using some of the following php codes in your page

    *note that the absolute_path/cutenews/dir must be replaced with you absolute path to CuteNews directory
 


To show all active news on your page use:  

 

<?php
 $cutepath="absolute_path/to_cutenews/dir";
 include("$cutepath/shownews.php");
?>
 


To show exact number of news on your page use this code
 (this will show the latest 5 news)

  <?php
 $number=5;
 $cutepath="absolute_path/to_cutenews/dir";
 include("$cutepath/shownews.php");
?>
 

To show all headlines

  <?php
 $action="showheadlines";
 $cutepath="absolute_path/to_cutenews/dir";
 include("$cutepath/shownews.php");
?>
 

To show exact number of headlines on your page:
 (this code will show the latest 6 headlines)

  <?php
 $number=6;
 $action="showheadlines";
 $cutepath="absolute_path/to_cutenews/dir";
 include("$cutepath/shownews.php");
?>
 

To show a list of available archives use this code:

  <?php
 $action="showarchives";
 $cutepath="absolute_path/to_cutenews/dir";
 include("$cutepath/shownews.php");
?>
 

To show the search function you can link to search.php or use this code:

 

<?php
 $cutepath="absolute_path/to_cutenews/dir";
 include("$cutepath/search.php");
?>
 


 
Please note that the absolute_path/cutenews/dir must be replaced with you absolute path to CuteNews directory
e.g.: /usr/local/apache/htdocs/news
 

 Help & Support

 

If you have some problems with CuteNews you can go to our support forum or email us