Embedding Stuff into Serendipity, Not Vice Versa???

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ccruzdal
Posts: 1
Joined: Fri Sep 17, 2004 7:46 pm

Embedding Stuff into Serendipity, Not Vice Versa???

Post by ccruzdal »

Hi,

I am planning to do a web site which includes a little more than just a blog. Similar to Jannis Hermanns' homepage (http://www.jannis.to/), I would like it to contain some more pages, such as "About", "Contact", "Projects", and so on. Some of these would contain pages that would contain PHP code -- e.g., the "Contact" page for a simple form that visitors can use to mail me. Now my issue is how I can do this in the most elegant way, i.e. that I do not break compatibility with future releases of Serendipity.

I know that many of you will suggest using the embed mode -- just one remark regarding that: I like the Serendipity themes, and I would actually use one for my blog, hence I would rather embed the rest of my page into Serendipity than vice versa.

I would be extremely glad for any type of advice, hints, etc. I am sure anyone else has faced the same situation.

Thanks,

Chris

PS. Jannis, if you are reading this, how did you do it on your web site?
dand
Regular
Posts: 18
Joined: Wed Sep 17, 2003 4:23 am
Contact:

Post by dand »

What I did for my site (whose server is dead right now unfortunately) is to add the main site's navigation menu to a Serendipity theme's template file, and enclose all the serendipity stuff inside of the "mainContents" div. You also have to make sure serendipity uses the main CSS file.

Daniel
martinmtj
Regular
Posts: 13
Joined: Thu Oct 21, 2004 10:05 am

Post by martinmtj »

How did it work for you. Have you succeded in embedding you site into Serendipity?

/Martin
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post by jhermanns »

martinmtj: the reason it works with my site is, that it's skinned completely through css! if you have a look at the sourcecode (html), you'll see that there's no layouting or something alike in there. it's all in the css.

so the blog and the other pages are completely separated, but due to the css it all looks the same :)
Post Reply