Alright. Blogger Hacks: The Series. If we're going to do this then I should make some effort to be systematic & cover topics in a sensible order. Let's imagine you've got a new blogger blog, & a default blogger template, but you haven't messed with the code in the template too much & you'd like your blog to be visually distinctive. A new template may be a big part of the solution.
Blogger offers default templates when you register for a blog, & some of them are pretty cool. You can dress them up pretty well too, by changing the colors of links etc. If you want to move beyond the defaults, though, here's some places to look:
- Updated 5/9/06: This blog uses a template generated by PsycHo. (Freshblog eval.) This is a great tool, and your template will validate straight off the site, at least until you paste in all your old code chunks!!
Noipo.org has a selection of templates. Some of these have related images. See “images” below.
Blogskins.com has over 17,000 “blogger main” templates. You have to dig a bit to find a good one.
BloggerTemplates is a blogspot blog of different templates.
Kubrick is a template by Michael Heilemann of Binary Bonsai, which has been modded to work with blogger.
Some things to know before you change your template:
Images - Although they'll let you add images to posts, blogger doesn't have a way of handling images for templates. The work-around here is to have web space somewhere else that you can upload the images to, & then modify the <img src="http://myotherwebspace.com/image.jpg"> tag to point to the location of the image. It will slow your template down a bit, but I think it's the only way to keep the images tied to the template.
Updated 5/9/06: You can host your template images on blogger if you upload the image in a draft post, then grab the image URL out of the draft & use it as normal in your template. This is probably quicker than hosting images on an external service, but I haven't tested it...
Existing Modifications – If you've already made some changes to your default template, they won't make the move with you unless you cut & paste. I recommend changing your template while your blog is young, before you've customised your sidebar too much!! I also recommend wrapping features that you add in begin & end comment tags to help you remember what all this stuff does, like this:
<!-- begin statistics --> put sitemeter code here <!--end statistics-->Posts – If the template you pick is already set up for blogger, & has <blogger></blogger> tags with post formatting information between them, your posts will make the move. I can't guarantee that the template you choose is really blogger ready, so backup your existing template and preview your new template before you save it.
Disclaimer: There may be other things that you should know.
Whichever template you pick, here's how to make the switch:
Log in to Blogger
Click on the “change settings” gear-wheel on the dashboard
Click the “template” tab at the top of the screen.
Select & Cut (ctrl-x) your existing template text. Paste it into word, an e-mail or a text editor so that you have it as a backup.
Paste in the new template text
Click “preview” to see how things will look.
If you like it, click on “save changes”
Republish your entire site
And there's your new, cool, unique “no-one else has it but me, & it didn't cost me a dime” template.
Disclaimer: None of these links are recommendations or endorsements. I haven't tested these templates
Other Resources for template mods:
Noipo.org PDF “How to change your template” - with screen-caps from Blogger.
Good luck changing your template. Remember – backup & preview!!
See other posts in Blogger Hacks: The Series
1. Is it possible to decide how many posts was displayed on the main page instead of how many days of posts.
2. Is there a previous posts manager which allow you to control how many previous posts you want to display?
3. Is it possible to show previous posts not in the sidebar but in the bottom of the page?
3. How to make a template to ensure that the sidebar won't be pushed into the bottom even if there's a massive photo in the post. It's quite annoying that sometime when you post a massive picture , the whole sidebar come down to the bottom.
4. Is there a possibility to creat a calendar archive. I find one solution at http://newsgator.modblog.com/?show=blogview&blog_id=707104,
but it's extremely difficult to carry out with limited design knowledge.
Thank you John! The Blogger Hacks series comes out really in time. The feedback is quite good as well. Like you said' Let's turn this post into a one-stop shop for blogger mods!!'
It says, "Upload the included images to the same directory on the webserver as where you upload the blogger files." Where are blogger files located?
Curt
Your hacks rock by the way!
check http://milo317.blogspot.com/
it worx all well, just the categories are opening in another window,any idea why?
Thanks!
www.blogskins.com
but it won't work,why is that?
n cud u help me out please?
thanks
:)