For this purpose use "News Integration Wizard" (Options > Integrate News into your site)
The following block will be generated
<?php
$number="5";
$category="1";
include("...path_to_cutenews.../show_news.php");
?>
This code should be included in any file, for instance index.php where news of special category is shown.
Then change fixed meaning $category="1"; for example
<?php
$number="5";
$category = isset($_GET['ucat']) ? $_GET['ucat'] : 0;
$category = preg_replace('/[^0-9\,]/', '', $category);
include("...path_to_cutenews.../show_news.php");
?>
ucat is ID of the category for showing or the list of ID.
Now you can generate all necessary links
- [url=/index.php?ucat=1]category 1 only[/url]
- [url=/index.php?ucat=2]category 2 only[/url]
- [url=/index.php?ucat=1,2]category 1 and 2 only[/url]
You can find ID in Options > Edit categories
Best regards,
CN Support team