CuteNews README | ||||
Information About The Script |
||||
CuteNews v1.4.6 by CutePHP
Team. UTF-8 CuteNews changes by KoRn19.Ch. |
||||
Installing CuteNews |
||||
The installation of CuteNews is really easy and you should do it without any problems if you follow these steps: 1) Create a directory on your server ( e.g.
cutenews ) |
||||
Getting The News On Your Page... |
||||
You can show the news, archives on your page by using
some of the following php codes in your page. |
||||
|
||||
General |
||||
When showing news, archives you can use $number =
x; to limit the to x the number of maximum showed news on
one page. If you use $number, "next >>" link to remaining news
will be displayed. If you want to show news, archives from certain category you can use $category = "ID"; where ID is the id of the category, you can choose and more that one category like this: $category = "ID1,ID2,ID3"; When you want to display news and headlines on one page for example, and want when a headline is clicked, the article to be displayed on the place of the news you must use $static = TRUE; before including headlines. |
||||
Showing Active News |
||||
<?PHP |
||||
Showing with Different Template |
||||
<?PHP $template = 'YOUR_TEMPLATE_NAME'; include('path/to/show_news.php'); ?> |
||||
Showing Archives |
||||
<?PHP include('path/to/show_archives.php'); ?> |
||||
Showing 5 Latest News |
||||
<?PHP $number = 5; include('path/to/show_news.php'); ?> |
||||
Showing 5 News from Category with ID 2 |
||||
<?PHP $number = 5; $category = '2'; include('path/to/show_news.php'); ?> |
||||
Showing All Headlines And The 1 Latest News Article On One Page |
||||
<?PHP |
||||
Remember that:
|
||||
Help & Support |
||||
If you have problems with CuteNews you can go to our
support forum. |