Wrap header around blog?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
jogna
Posts: 1
Joined: Mon Jul 09, 2007 1:10 am

Wrap header around blog?

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wrap header around blog?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply