Logo blocks & background blocks
Permalink
As a non programmer, I would really like to see logo blocks become a standard. If you search for "logo" in the forums, you will find that quite a few of us non programmers are struggling to add custom logos to our templates.
For me, (using the harvest theme), I tried editing the *LOGO* sections in the .css files (default and main) thinking if I simply replaced the font areas with non repeating background image, then that would do the trick. I was wrong. Then someone listed you also have to change the "header.php" file, but the user that tried that still had some issues.
Simply put, I think for logos it would be great if you could just click an editable block, add in an image file, a flash file or animated gif, font, bg color or whatever, and also have the option of choosing a rollover image and url link for the logo.
As for background blocks, this could also be cool if you could simply choose whether you want a bg color or an image, and whether it repeats or not and in what direction(s).
Another awesome benefit to having a logo block is if you could choose to put it wherever you want. Such that the template you download might have a small logo on the left side, but you could easily replace that with a larger logo in the center (or wherever).
For me, (using the harvest theme), I tried editing the *LOGO* sections in the .css files (default and main) thinking if I simply replaced the font areas with non repeating background image, then that would do the trick. I was wrong. Then someone listed you also have to change the "header.php" file, but the user that tried that still had some issues.
Simply put, I think for logos it would be great if you could just click an editable block, add in an image file, a flash file or animated gif, font, bg color or whatever, and also have the option of choosing a rollover image and url link for the logo.
As for background blocks, this could also be cool if you could simply choose whether you want a bg color or an image, and whether it repeats or not and in what direction(s).
Another awesome benefit to having a logo block is if you could choose to put it wherever you want. Such that the template you download might have a small logo on the left side, but you could easily replace that with a larger logo in the center (or wherever).
yes I second that, there definitely should be a way to implement a logo from the back end especially for any generic template. I would think this should be one of the basic features.
I'm no programmer so I don't know how to make this work but what about an editable block that uses absolute positioning and z-index? That way you could place anywhere and maintain it on the highest level.
having a block is only part of it. your template also has to have an editable area. And if you are going to learn how to add an editable area to a template...then it's just as easy to add an image logo. m2c.
An editable logo area sounded intriguing. I made some quick modifications to the default Plain Yogurt theme. If someone wants to play with it, copy <root>/concrete/themes/default to <root>/themes/default. Then, unzip the attached file to get header.php and main.css. Place header.php in <root>/themes/default/elements and main.css in <root>/themes/default to overwrite the existing files.
This will override the default Plain Yogurt theme in C5. To try it out, create a page and assign it the Plain Yogurt theme. When you edit the page, you should be able to add any kind of block to the Logo area. You might need to tweak the CSS.
This is essentially the same as any other theme but with an editable logo area. Use at your own risk, etc., etc. When you are done testing, simply delete the directory <root>/themes/default, and you will be back to normal.
If this approach is useful, theme designers could pretty easily create themes that incorporate an editable logo area.
This will override the default Plain Yogurt theme in C5. To try it out, create a page and assign it the Plain Yogurt theme. When you edit the page, you should be able to add any kind of block to the Logo area. You might need to tweak the CSS.
This is essentially the same as any other theme but with an editable logo area. Use at your own risk, etc., etc. When you are done testing, simply delete the directory <root>/themes/default, and you will be back to normal.
If this approach is useful, theme designers could pretty easily create themes that incorporate an editable logo area.
most themes aren't however, because the logo tends to be more incorporated into the design than that...
making it so you could upload images through the new theme editor would be a functional mess..
i wonder if we couldn't combine the two in some way...
no easy answer today, but yes i get your challenge and it's on my mind. ;)