Page 1 of 1

Integrating blog posts within confine of website (Andreas01)

Posted: Thu Aug 31, 2006 11:47 am
by Wes Ide
Hello everyone!

I've been working on a website using a modified version of the andreas01 v1.3 template

I just installed serendipity, and browsed themes, and saw some by andreas, but not 01.

Anyways, what I am wondering is if I can incorporate serendipity directly into the same look of my website, such that a visitor clicking the "Blog" menu button can read blog entries as if they are embedded directly into the site as its own section.

Can anyone tell me if (and how) that can be done?

Thank you so much! :)

Re: Integrating blog posts within confine of website (Andrea

Posted: Thu Aug 31, 2006 12:04 pm
by garvinhicking
Hi!

There are two ways to deal with that:

Either you create your own template and just put your usual HTML constreuct in the index.tpl file. This is the easy way, but includes overhead as you will have your own template and the serendipity template to maintain/modify.

The second way is called "Embed" mode, and is documentedon www.s9y.org. It basically is a config option in s9y that instructs s9y to only output the "content" part of the blog. Then you can use PHP scripting to include that content part in any framework you like that supports PHP code execution. It is a bit hard to fiddle with to get it set up, but in the end it does not include overhead and makes you able to have the rest of your framework code available within serendipity.

HTH,
Garvin