1 jhonyleroy Jul 03, 2008 17:39
3 jhonyleroy Jul 03, 2008 21:39
Thanks so much for your answer!
However, isnt there any easier way of changing the top image? I would expect for the user something like go to the "blog settings" --> "widgets" and then have available an option for just choose the image for the top banner (previously uploaded into the "Files" tab). Is that not possible? I am looking for something similar to wordpress.
Thanks!
4 peter_lt Jul 04, 2008 04:57
There is a simple way of doing this... First select one the skins that will
generally fit the kind of layout which will suit your needs, copy and rename
that folder to your own spec. Then look at the original background and
header images used and replace them with your own images but using
the same filenames. This obviates changing any of the core code - you
just select the widgets you want to use, then adjust the CSS settings to suit.
For my purposes, I used the Custom skin, created a new skin folder called
C2custom and created an img sub-folder. I then copied the files from
Custom into these new folders and went from there. I then placed any of
my own additional images into the img sub-folder and adjusted all the
CSS to suit. The final result is still a work in progress, yet to mature.
Regards,
Steve (Peter S.)
[url=http://www.caronia2.info/car2blog]Caronia Timeline Webmaster[/url]
5 edb Jul 04, 2008 06:39
There is a logo widget, which will probably allow blog-specific images, but I haven't used it so I don't really know that much about it. Only that it exists ;)
6 jhonyleroy Jul 04, 2008 09:38
Thanks for your answer!
Yes...but this is for the footer :( so it is not what I am looking for.
Anybody else that can give me more info about this topic?
Thanks!
Jhonyleroy.
7 edb Jul 04, 2008 10:04
Well with custom CSS each user can set a specific header image. It is not extremely easy and it does not apply to skins that do not use CSS for the header image, but it works.
I do believe the code I provided will work for non-CSS skins.
Got a link to your installation so that we can see what you got and potentially offer specific ideas?
8 jhonyleroy Jul 04, 2008 16:32
Thanks for you interest. I think your answer is good enough thanks...also, because my b2 installation is done in a company intranet so no access outside the same :-))
Thanks!
9 jhonyleroy Oct 17, 2008 13:00
Hi again!
Just coming back to this post some time after I originally posted it.
I am checking the new avaiable skins at:
http://skins.b2evolution.net/two.php
My question is still the same. Is there any of those templates that allows the end user to change the image at the banner? Wordpress has several templates whose banner image can be customized easily by the user itself (thru a widget or something).
At the beggining of this posts, the answers I got were oriented to touch code an so on. Nothing has changed since them? There is no user friendly way to do it? (like in wordpress).
Thanks!
10 jhonyleroy Oct 27, 2008 18:17
Nothing has really changed lately? Still need to touch code to customize the banner image?
Thanks!
If a skin has an image in the header that is put there by CSS then you can change it on a per-blog basis. Basically you would need to enable blog-specific CSS, then upload to the blog's media folder a style sheet called "style.css" which would include a new background image - and of course the new background image. I do it with the evopress skin but I'm offline for a little while still.
If a skin does it with an included image you can still do it but the exact method would depend on which skin you are using. What you would want to do is something like make your image tag be something like
THEN you have to make sure you have a file in the skins/yourskin/img/ folder named headerimage_1 (and 2 and 3 and so on for each blog) otherwise it'll be file not found. In a fancy world you would do something like
Obviously that's not real code - just an idea of what one could do if one did not want to ensure that there is a img/headerimage_NN.jpg for each existing blog.