In my previous post - Ads Theme Template Error Fix - I explained how to fix the JavaScrip Error on Search Widget on Ads Theme Template.



This post will give you how to correct Archives Widget if you are using Ads Theme Template and having problem using Archives Widget.



Hierarchy Archives




1. Download the existing XML template and make a copy in your PC.



2. Open the copy of XML and search the below Archives Widget code.



<b:includable id='main'>

<b:if cond='data:title'>

<h2><data:title/></h2>

</b:if>

<div class='widget-content'>

<div id='ArchiveList'>

<div expr:id='data:widget.instanceId + &quot;_ArchiveList&quot;'>

<b:include data='data' name='flat'/>

</div>

</div>

</div>

</b:includable>


3. Replace the above entire code to the below code and upload the XML into your Blogger.



<b:includable id='main'>

<b:if cond='data:title'>

<h2><data:title/></h2>

</b:if>

<div class='widget-content'>

<div id='ArchiveList'>

<div expr:id='data:widget.instanceId + &quot;_ArchiveList&quot;'>

<b:if cond='data:style == &quot;HIERARCHY&quot;'>

<b:include data='data' name='interval'/>

</b:if>

<b:if cond='data:style == &quot;FLAT&quot;'>


<b:include data='data' name='flat'/>

</b:if>

<b:if cond='data:style == &quot;MENU&quot;'>

<b:include data='data' name='menu'/>

</b:if>


</div>

</div>

<b:include name='quickedit'/>

</div>

</b:includable>


Basically the original XML template does not have the condition for each style. Now you can use your layout/page element to change the style - Hierarchy, Flat List, or Dropdown Menu.



Configure Blog Archive






If this post is useful,
please subscribe this at
please bookmark, digg, or share this page at



Related Posts by Categories



9 comments

  1. RC Mishra // July 23, 2008 1:46 AM  

    Thanks alot.
    I fixed it on my blog :)

  2. Ssannara // July 23, 2008 8:32 AM  

    Glad to hear that RC! :)

  3. রাশেদ // July 27, 2008 11:39 AM  

    Thanks Mate!

  4. Ssannara // July 28, 2008 11:09 AM  

    Thanks for your comment.

  5. Genlisae // July 30, 2008 3:46 PM  

    Nice fix. Using it and loving it

  6. Ssannara // July 30, 2008 5:02 PM  

    Thanks Genlisae!

  7. banglablog // September 4, 2008 5:39 AM  

    Helpful post. thanks

    http://banglablogtips.blogspot.com

  8. Ssannara // September 4, 2008 9:22 AM  

    Thank you, banglablog!

  9. Julie // December 4, 2008 7:32 PM  

    THANK YOU! THANK YOU! THANK YOU! This is wonderful. I finally got this fixed and thanks for making it so easy!

Post a Comment