Question about blog name and blog description.

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
User avatar
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Question about blog name and blog description.

Post by Ripper^^ » Fri Aug 19, 2005 12:39 am

When you open up my site the header looks like this:

Image

when moving to various other parts of the site it changes, like this for example:

Image

My question is how do make the original blog name and description static throughout the whole of the site, so that no matter where you are the header always looks like the first image?

Thanks in advance,
Ripper^^[/url]

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Question about blog name and blog description.

Post by garvinhicking » Fri Aug 19, 2005 1:14 pm

You can do that easily by editing your templates index.tpl file.

Change this code:

Code: Select all

<div id="serendipity_banner">
    <h1><a class="homelink1" href="{$serendipityBaseURL}">{$head_title|@default:$blogTitle}</a></h1>
    <h2><a class="homelink2" href="{$serendipityBaseURL}">{$head_subtitle|@default:$blogDescription}</a></h2>
</div>


to this:

Code: Select all

<div id="serendipity_banner">
    <h1><a class="homelink1" href="{$serendipityBaseURL}">{$blogTitle}</a></h1>
    <h2><a class="homelink2" href="{$serendipityBaseURL}">{$blogDescription}</a></h2>
</div>


Have fun,
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/

User avatar
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

many thanks!!

Post by Ripper^^ » Sun Aug 21, 2005 9:16 pm

Again Garvin many many thanks. Your help is fantastic, I don't know how you find the time.

Ripper^^

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: many thanks!!

Post by garvinhicking » Mon Aug 22, 2005 2:00 pm

You're welcome! Sometimes I do wonder as well how I find the time :-D

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