I set up Serendipity and it works fine. It seems there is only one problem left: I installed Serendipity to http://www.muenster.org/amnesty/blog. You can see the weblog and change to categories and subcategories.
But there is one problem: I would like to show the five newest entries of the complete blog on www.muenster.org/amnesty/index.php and, on other pages, the newest entries of one categorie. But these entries should only be part of a page; other information should be added.
For testing, I created a file called indexneu.php (see http://www.muenster.org/amnesty/indexneu.php):
Code: Select all
<html>
<body>
<?php
chdir('blog'); // Change current directory to s9y
include_once('serendipity_config.inc.php');
// Get the 5 most recent entries
$entries = serendipity_fetchEntries(null, true, 5);
// Print them
My_serendipity_printEntries($entries);
?>
</body>
</html>
Is there any way to realize my ideas? The code above is a solution from this forum; but how can I "extract" entries from special categories?
Thanks,
Jan