banner include code

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
tax0n

banner include code

Post by tax0n »

Hi forum,
I user s9y on a freehost which requires I display their banner at the top of every page.
Does anyone have a good include script I can use to put their code in at the top of every s9y page in my blog?
Thanks,
tax0n.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: banner include code

Post by garvinhicking »

Use Serendipity 0.8, create a custom template (see wiki on www.s9y.org, documentation section "styles") and edit the index.tpl file to insert the HTML code.

Regards,
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/
Guest

Post by Guest »

thanks gav,
I didn't create a custom template but just inserted the banner code in index.tpl - after a few hints from someone in the irc channel.
Do you recommend creating a custom template from the default index.tpl so I have a clean backup copy of the default?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I definitely recommend creating your own template. If you modify the default template you will loose any changes after each Serendipity upgrade.

Regards,
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