Search found 4 matches
- Fri Dec 25, 2009 10:19 am
- Forum: Development
- Topic: Embedding with Serendipity
- Replies: 6
- Views: 10705
Re: Embedding with Serendipity
Oh, yes. Thank you!
- Wed Dec 23, 2009 11:53 pm
- Forum: Development
- Topic: Embedding with Serendipity
- Replies: 6
- Views: 10705
Re: Embedding with Serendipity
Yes, I know. But my wrapper isn't really the wrapper.php, but "index.php?q=blog"... The included file for "?q=blog" "includes" the wrapper. To set the Indexpage to "wrapper.php" it didn't works...
- Wed Dec 23, 2009 11:37 pm
- Forum: Development
- Topic: Embedding with Serendipity
- Replies: 6
- Views: 10705
Re: Embedding with Serendipity
Ok, let me explain:
My website (php based) is on the root dir. "index.php" ist my indexpage. I've a file named "wrapper.php":
<?php
ob_start();
chdir("serendipity/");
require("index.php");
chdir("../");
$blog = ob_get_contents();
ob_end_clean();
?>
If I click on "Blog" (a image in my navigation ...
My website (php based) is on the root dir. "index.php" ist my indexpage. I've a file named "wrapper.php":
<?php
ob_start();
chdir("serendipity/");
require("index.php");
chdir("../");
$blog = ob_get_contents();
ob_end_clean();
?>
If I click on "Blog" (a image in my navigation ...
- Wed Dec 23, 2009 4:50 am
- Forum: Development
- Topic: Embedding with Serendipity
- Replies: 6
- Views: 10705
Embedding with Serendipity
Hi there,
I've installed Serendipity on my webserver and wants an embedding "version". I've read the documenatation "Embedding with Serendipity" :
<?php
chdir("<serendipity_dir>");
require("index.php");
chdir("<original_dir>");
?>
To "include" the index.php file - no problem. But how I could ...
I've installed Serendipity on my webserver and wants an embedding "version". I've read the documenatation "Embedding with Serendipity" :
<?php
chdir("<serendipity_dir>");
require("index.php");
chdir("<original_dir>");
?>
To "include" the index.php file - no problem. But how I could ...