Page 1 of 1

Wrap header around blog?

Posted: Mon Jul 09, 2007 1:18 am
by jogna
Hi, I'm having a difficult time wrapping my header and footer around serendipity. I read the help sections on embedding, and am trying to do "the easier way" which says to turn on embed and then insert html/head tags in template files...

So, i have a php header and footer to insert to wrap my blog...which file should i insert it into? The index.php? or the index.tpl in the templates - default folder (my theme does not have an index.tpl in its own folder)? I tried both and neither works.


I am using Gila Two Theme...can someone tell me exactly what I need to do..where to I insert my php code to call my header? I'm a real Newb and would appreciate the help!
thank yoU!

Re: Wrap header around blog?

Posted: Mon Jul 09, 2007 10:33 am
by garvinhicking
Hi!

You could use the method described here:
http://www.s9y.org/78.html

This means:

1. Turn off smarty-security via template config.inc.php
2. Turn off s9y embed mode
3. Edit your templates index.tpl file, insert {include_php} smarty commands for your header/footer.

If your theme directory does not have a index.tpl, copy over the file frmo /templates/default/index.tpl into your theme directory.

HTH,
Garvin