<?php
$_REQUEST['page'] = 'blog';
// Let serendipity generate our content:
ob_start();
// wanna set some variables here
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';
?>
my goal is to set embedded mode in the admin interface to false, so that the blog is used in a common way, but i also want to integrate it into my site.
is it possible to set eg. embeddedmode = true, indexfile = "myintegratedfile.php" , ... within the phpfile calling the "embedded" version?
hope this is not too fuzzy to read
tia
AzRAeL