I have a question after the successfull installation of s9y.
So far I have one category which is embedded in my Layout and displayed on a certain page (in this case "News").
Is it possible to create another category which will be displayed on another page (e.g. "latest updates")?
I don´t want the visitor to choose the category or so, I just want to display the entries of each category on a different page.
Or do I have to install s9y again to a different directory to use it on different pages with different entries?
If it is possible to do this, what do I have to change?
My "news.php" looks like this:
Code: Select all
<?php
$_REQUEST['page'] = 'blog';
// Let serendipity generate our content:
ob_start();
require 'index.php';
$blog_data = ob_get_contents();
ob_end_clean();
// Now we include our normal content building file.
// This one has to make use of your $blog_data variable to print
// the content where appropriate!
require 'newscontent.php';
?>Code: Select all
<?php echo $blog_data ?> Jorainbo