I am attempting to use the wrapper, just to have more control over the layout and i am stuck
so, here's what my wrapper.php looks like
Code: Select all
<?php
// 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 'content.php';
?>
Code: Select all
some stuff
<?php echo $blog_data ?>
Code: Select all
some stuff
Warning: Cannot modify header information - headers already sent by (output started at /home/pgutin/public_html/serendipity/wrapper.php:1) in /home/pgutin/public_html/serendipity/index.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/pgutin/public_html/serendipity/wrapper.php:1) in /home/pgutin/public_html/serendipity/index.php on line 136
BLOG TITLE
blog description
No entries to print.
Any help is greatly appreciated