is there a chance to use an individual header image for each category (a category title/als ein kapitel-titel)?
This means for example:
Category "News" shows a foto of a newspaper as header
Category "About" shows a foto of a book as header
Category "Contact" shows a foto of a pen as header
etc.
Is this function already existing somewhere?
And can I integrate it e.g. into the template freshy?
Thank you for your help
Matthias
Last edited by m2.ag on Sat Oct 27, 2007 1:36 pm, edited 1 time in total.
carl_galloway wrote:You can add a category icon which is displayed in each entry from the category. (...)
Hi Carl,
thank you for your reply, but that was not my intention.
The blog I am building has about 6 categories. Each category should have its own header image on top of the page. Just like here in the wordpress-based weblog run by Michael Heilemann:
Oh sorry. I haven't played with it much, but there is a plugin which is something to do with extended entries for categories that lets you use a different template for each catgory. I have no idea how difficult it would be to integrate a different header image but this plugin shoulod at least start the ball rolling, maybe one of the other regulars here has more experience
carl_galloway wrote:(...) a plugin (...) with extended entries for categories that lets you use a different template for each category. I have no idea how difficult it would be to integrate a different header image but this plugin should at least start the ball rolling, maybe one of the other regulars here has more experience
Hi Carl,
thank you, I found it! Does not seem to integrate automatically with the Spartacus-Plugin. But it is on the Plugin-Page on the s9y.org: Properties/Templates of categories.
But: This means, I've to duplicate my templates folder for each individual category. It works, but isn't there an easier way for only to switch some header pictures? Maybe anybody has an idea, how to have an individual title header image for each individual category?
m2.ag wrote:Maybe anybody has an idea, how to have an individual title header image for each individual category?
If there's a way to determine the category displayed in smarty, you could combine that with some inline styles in your index.tpl to set the header images. However, I don't know how to determine that, so that's a question for Garvin
You can use the bulletproof template for that, it offers selection of a header image.
Then you install the "Properties/Templates" plugin. Now for each of your categories, you choose the bulletproof template. Then you can configure the theme options for those categories independently!
So you still only use one template directory, but template options are distinct for each category.
You need s9y 1.2 or newer for this feature.
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/
There's a kubrickheader-plugin, that one allows to randomize a header and assigns the right one via CSS.
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/
If you're using the kubrick template, or a compatible plugin that uses the serendipity_banner CSS class, it is plug and play. Else you would need to either change the plugin or your template to conform with the required DIV-Element where the header should go into.
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/
If you're using the kubrick template, or a compatible plugin that uses the serendipity_banner CSS class, it is plug and play. Else you would need to either change the plugin or your template to conform with the required DIV-Element where the header should go into.
Regards,
Garvin
Ok, I am using Bullet-proof 1.0 (have seen that 1.1 is out but it's not available yet in SPARTACUS), is that kubrick compatible or whatever?
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bulletproof 1.1 is never going to be in spartacus... bulletproof is one of s9y's core templates. There will be 2 ways to get bp updates. First, if s9y is updated (ie, 1.2.x or 1.3), the latest bp will be in that release. Second, we are maintaining a download location for interim bp releases so we do not have to wait for s9y to be updated when we want to update bp. BP updates, including 1.1, can be downloaded here:
BP does use a banner ID of serendipity_banner, but I have not tried this plugin Garvin mentions so I cannot be sure if it will work or not... but I suspect it will.