how to delete TITLES from showing on specific category pages

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
jliddy_
Posts: 2
Joined: Fri May 25, 2007 1:10 am

how to delete TITLES from showing on specific category pages

Post by jliddy_ »

examples shown here...

this is my blog as should be displayed-
http://www.loonitic.com/cblog/

my issue is when you click on a specific 'category' from the right side, it will take you to the correct page but with a huge title of the category in font that is shown on top of my blog header image-
visual here:
http://www.loonitic.com/cblog/index.php ... ertainment

how do i make it where no font is overlapping my header image, regardless which page i am on the blog?

and if it isnt too much to ask,
is it possible to switch header images between categories?

thanks for any help you can provide.
im rather new to the whole in depth blog thing
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: how to delete TITLES from showing on specific category p

Post by garvinhicking »

Hi!

You can edit the template file 'index.tpl' of your template to change that. Look for the "serendipity_banner" div statement, there you will see variables that are getting emitted there. You can fix that to your blog title in all cases by replacing those variables there. Have a try. :-)
and if it isnt too much to ask,
is it possible to switch header images between categories?
You have mutliple options.

One is to edit the same index.tpl file and add Smarty IF-Checks to see what the variable $category_info.category_name is like:

Code: Select all

{if $category_info.category_name == 'First Category'}
<img src="/pic1.jpg" />
{else if $category_info.category_name == 'Second Category'}
<img src="/pic2.jpg" />
{/if}
and so on. Or emit a different HTML ID that you can access via a different CSS selecetor for serendipity_Banner.

OR you can install the plugin 'Properties/Templates of categories' which will allow you to set your own template per category.

Beware that customization like this is always possible for Serendipity, but at the cost that you need to get yourself familiar with it and try things. :)

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/
jliddy_
Posts: 2
Joined: Fri May 25, 2007 1:10 am

Post by jliddy_ »

^^^ thank you so much for your insight, i REALLY appreciate the help!!!
Post Reply