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.
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 + "_ArchiveList"'>
<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 + "_ArchiveList"'>
<b:if cond='data:style == "HIERARCHY"'>
<b:include data='data' name='interval'/>
</b:if>
<b:if cond='data:style == "FLAT"'>
<b:include data='data' name='flat'/>
</b:if>
<b:if cond='data:style == "MENU"'>
<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.




Thanks alot.
I fixed it on my blog :)
Glad to hear that RC! :)
Thanks Mate!
Thanks for your comment.
Nice fix. Using it and loving it
Thanks Genlisae!
Helpful post. thanks
http://banglablogtips.blogspot.com
Thank you, banglablog!
THANK YOU! THANK YOU! THANK YOU! This is wonderful. I finally got this fixed and thanks for making it so easy!