Step 1
Create a page named blog_wrapper.php and apply your site's Templates. Save it in the <serendipity> Directory.
Step 2.
Find the location in blog_wrapper you wish to have your blog appear and insert this code;
Code: Select all
<?php
ob_start();
require 'index.php';
$blog_data = ob_get_contents();
ob_end_clean();
echo $blog_data;
if ($serendipity['view'] == 'css' || $serendipity['view'] == 'plugins') {
;
exit;
}
?>
Log into Serendipity, go to your admin page and change the configuration. Find the setting for "Is Serendipity embedded?" and change it to "Yes".
Step 4
In your site's menu, create a link to blog_wrapper.php
That's it! Your site's formatting will now remain intact while using Serendipity
______________________________________
Again Garvin,
I hope you accept my apologies for accusing you of not being helpful and I appreciate your continued support.
I hope you change the instructions in your embedding documentation.
After figuring out how this works on one site, Ive used it in 4 other sites and have 5 very happy customers. If you accept donations, send me instructions on how to donate and I will pass the info on to those customers.