czwartek, 14 października 2010

How to Make Non-Blogger Templates Work at Blogspot


There are many well-designed and professional looking templates available for Google Blogger, all very tempting for the everyday blogger to import. Most of these are tested for Blogger and work fine, but Google has made the importation of these a sometimes buggy and more tedious process than it used to be. Here are a dozen simple steps to make these other templates work while backing up your current blogsite.

1. To change to a new template, you must first have the new one downloaded onto your local computer, and it will normally be in XML format, but sometimes is simply in a TXT file.

2. After logging in at Blogger, select Customize your blog.

3. First backup the existing template: select Layout, Edit HTML and Download Template. Change the name to something you recognize, like 'Temp-MyBlog-010309', then save it. This takes a few seconds, the file will be small, usually 50-100k. This will not save the posts, that's next.

4. Next, backup your posts. You won't have to reload them, it's just a good idea to back them up before major changes. Select Settings, then Export Blog (the Basic tab). This exports the posts themselves. Again save the file as something you remember, like 'Exp-MyBlog-010309'.

5. You need to back up or copy each of your widgets, the HTML code. Make sure you use a text editor like Notepad. I put them all in one file with labels for each and a separator line, which makes it easy to copy them back into the new template. Unfortunately, copy and paste is the only method you can use here, one at a time, so it can be tedious with a crowded interface with lots of sidebar gadgets.

6. Now you're ready for the new template. Return to Edit HTML, and select Browse to find the new template on your computer. When you select it, click OK, then when back in Blogger, select Upload. The new template will be transferred to Blogger.

7. After the refresh, you will see a list of widgets on the left that will be deleted, such as 'html1' and 'blog1'. If you proceed from here, you will likely get the infamous 'Bk-#' error screen with an error code. You must first debug the new template.

8. Use 'Ctrl-F' to Find, and search for 'widget id'.

9. When you find one, click Close, then edit the resulting widget's name that you see by incrementing the number, such as 'html1' should be changed to 'html2', 'text1' becomes 'text2', and so on. There may be two or more of each of these, change them all. Don't miss changing 'blog1' to 'blog2', this is almost always present. Then use Ctrl-F again for the next instance of 'widget id'.

10. When you've edited them all (and be careful to not cycle through them twice), click Save Template. After the screen refreshes, you have a new list of widgets that will be deleted, but now it's OK, none will be from the new template.

11. Click Confirm and Save. This should work without errors now, and you can select either Preview or View Blog and see the results.

12. You can now copy your widgets back (one at a time) that were deleted during the importation process. Even if you have many, it should take less than an hour.

Since you've properly backed up the previous template, if there's a problem with the new one or you don't like it, you can change back to the original by using the upload process again, and select the original template backup name. You will have to copy back the original widgets again, but at least you won't lose anything.

Build a test blog first, then don't be afraid to try a new template to refresh your blog!








William Jose Sinclair
A blogger (over 20), former interface designer and database engineer, and stock trader trying to survive from home
Template Demos: http://template-demos.blogspot.com
Home Site: http://wmsinclair.blogspot.com


Brak komentarzy: