Archive Calendar Widget For Blogger

No comments


Hi pals, we've posted about tutorial quiet a while, I have been looking for this since last year when i'm building an article blog for one of my friend. so i brought to you a Calender for your blog achieve.. I saw this tutorial on a blog last week but not easy, so i took my time to take the codes from the blog and add it to others from MYBLOGGERTRICKS. Meanwhile, this tutorial is for only Blogger not Wordpress, because Wordpress already has a calender widget.. So lets do this...


1- Add/Install Archive calendar on your Blog

To do this:
  • Go To Blogger Dashboard > Layout
  • In Blogger's default widget directory, after clicking on Add Gadget just choose "Blog Archive widget *You may need to switch to next page in the directory to find it.
blog archive gadget

Configure the options (as shown in the screenshot blow).
Set style to Flat list.
Uncheck "Show Oldest Posts First".
 choose archive Frequency as Monthly and Date Format should be set to anything.

archive settings
    
Then Click save.

2- Go to Blogger Dashbord > Settings > Template (Don't forget to Backup your template).  After that click on Edit HTML > Proceed

Then find the following code (with Ctrl + F):




If you couldn't see the code, then search for BlogArchive, (you will find a code similar to the one  shown above).

  3- Replace the above code in step#2 with the following code:



4- Now search </head> and paste the following lines of code above it:





Note: Look at the above code (at the beginning), starting from 
var bcLoadingImage = "http://mybloggertricks.googlecode.com  
to
var headInitial = ["Su","Mo","Tu","We","Th","Fr","Sa"];   that is where you can change the text "View Archive", loading image, ASCII characters for navigation arrows and change the abbreviation for Day names.


Customizing the widget: 

As you may observed (if you've already saved your tempelate), the widget will look dull, until you do some styling and customization by adding colours.. Now,

Search for ]]></b:skin> (inside the template box),  and just above it paste the following css codes:

1* Use this code (If you are using a lighter theme with white background):





 2** use this code instead (If you are using a Dark template with black background or similar):

Dark Archive Calendar




More Customization for LIGHT theme:

To change text color in blue edit  0080ff 
To change background color of the cell with blue background in active mode edit 53A9FF
To change the cell colour in mouse hover mode edit 72B9FF


More Customization for DARK theme:

To change color of the yellow text edit F5F202


 Finally save your template and check your blog.. CONGRATS!

No comments :

Post a Comment