For some reason, the category name isn't showing up with the plain-vanilla template. Is this something that I've done wrong, or is it the way the template is set up. If it's the latter, how would I go about changing it?
Here's the page if that helps:
http://neoutdoorvoice.com/blogs/index.p ... ly-Fishing
Thanks.
Change title in plain vanilla theme
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Change title in plain vanilla theme
Hi!
Yes, it'S a matter of that template's index.tpl file. Compare it to the index.tpl of the default theme and make your adjustments for variables $blogTitle / $blogDescription / $head_title / $head_subtitle to place them where you need them.
Best regards,
Garvin
Yes, it'S a matter of that template's index.tpl file. Compare it to the index.tpl of the default theme and make your adjustments for variables $blogTitle / $blogDescription / $head_title / $head_subtitle to place them where you need them.
Best 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/
# 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/
I thought that was where it would be, but they looked the same to me. Here's the default:
And here's the one from plain-vanilla:
Of course I'm assuming I have the correct section of the .tpl file to be looking at here...and it wouldn't be the first time I was wrong about something like that.
Here's a category using the default template:
http://neoutdoorvoice.com/blogs/index.p ... 11-Fishing
Code: Select all
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />Code: Select all
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
Here's a category using the default template:
http://neoutdoorvoice.com/blogs/index.p ... 11-Fishing
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
There is another section lower in that index.tpl file, where also "serendipity_Banner" is involved. I think this section is the one you want to modifiy?
Best regards,
Garvin
There is another section lower in that index.tpl file, where also "serendipity_Banner" is involved. I think this section is the one you want to modifiy?
Best 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/
# 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/
Thanks Garvin, I'll look for it.
Is there a tutorial anywhere that talks about the different parts of a .tpl file that I could read and learn a little more? I'd like to edit some more for things like comments, trackbacks, buttons, etc. If only I knew what all that code meant I could stop asking you questions!
Is there a tutorial anywhere that talks about the different parts of a .tpl file that I could read and learn a little more? I'd like to edit some more for things like comments, trackbacks, buttons, etc. If only I knew what all that code meant I could stop asking you questions!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, the technical docs on www.s9y.org document parts of it, you might want to have a look at it. In the end, most things are HTML.
Best regards,
Garvin
Yes, the technical docs on www.s9y.org document parts of it, you might want to have a look at it. In the end, most things are HTML.
Best 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/
# 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/
Well, thanks to your help, I've found the section and made the changes. I used the <!--- and ---> until I got it right so I could change it back quickly if need be. I only changed the file 30 or 40 times before getting it right, but at least it's done.
I'm guessing that things like buttons can be removed or adjusted in the same way?
I'm guessing that things like buttons can be removed or adjusted in the same way?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You're welcome! It seems you are making a lot of progress and seem to get along rather well now. Hope you like and enjoy the process and have fun!
Best regards,
Garvin
You're welcome! It seems you are making a lot of progress and seem to get along rather well now. Hope you like and enjoy the process and have fun!
Best 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/
# 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/