We have designed a table of contents for blogger which will update automatically so you don't need to just edit it every time when you publish a new post.If you publish a new post on your blog it will automatically added to your Table of Contents Page so it really saves lot of time.This Table of Contents widget will display all of your post well arranged under their specific categories (LABELS).
This widget is designed and optimized with CSS so it looks really attractive and has some Jquery which do attract your eyes.So let us start our fingers rolling over the tutorial.
But first I know you would love to see the preview of the widget,so first see the widget which we are going to apply on our blog
Features:
- The sitemap (Table of Contents) updates automatically when you publish a post
- It will automatically tag your latest posts as NEW in sitemap (Table of Contents)
- All of you posts will be well arranged under there given categories (Labels)
- Has a fresh and new look with drop down feature
Adding a Table Of Content in Blogger:
To insert an Attractive Table Of Contents (Sitemap) in Blogger Follow these Steps
- Go To Blogger >> Template >> Edit HTML >> Proceed
- Now search For ]]></b:skin> in Your Template with (CTRL+F)
- when you find ]]></b:skin> just above it place the following code
/*--------MyBloggerLab TOC-----*/
.judul-label{
background-color:#E5ECF9;
font-weight:bold;
line-height:1.4em;
margin-bottom:5px;
overflow:hidden;
white-space:nowrap;
vertical-align: baseline;
margin: 0 2px;
outline: none;
cursor: pointer;
text-decoration: none;
font: 14px/100% Arial, Helvetica, sans-serif;
padding: .5em 2em .55em;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-border-radius: .5em;
-moz-border-radius: .5em;
border-radius: .5em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 1px 1px 4px #AAAAAA;
box-shadow: 0 1px 2px rgba(0,0,0,.2);
color: #e9e9e9;
border: 2px solid white !important;
background: #6e6e6e;
background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
background: -moz-linear-gradient(top, #888, #575757);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}
.data-list{
line-height:1.5em;
margin-left:5px;
margin-right:5px;
padding-left:15px;
padding-right:5px;
white-space:nowrap;
text-align:left;
font-family:"Arial",sans-serif;
font-size:12px;
}
.list-ganjil{
background-color:#F6F6F6;
}
.headactive{
color: #fef4e9;
border: 2px solid white !important;
background: #1C8DFF;
background: -webkit-gradient(linear, left top, left bottom, from(#9dc2e7), to(#438cd2));
background: -moz-linear-gradient(top, #9dc2e7, #438cd2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dc2e7', endColorstr='#438cd2');
}
- Now save the template by pressing Save Template button
- Now we will create a new page for our Table of contents Remember:we will create a new page not post.To create a new page go to Blogger >> Pages >> New Page >> Blank Page
- Now Give title to your page i.e "XYZ Table Of Contents" and now under EDIT HTML tab (button) paste the following code
<script src="http://nurulimaminfo.googlecode.com/files/daftarisiv2-pack.js">
</script><script src="http://www.mybloggerlab.com/feeds/posts/summary?max-results=1000&alt=json-in-script&callback=loadtoc"></script><script type="text/javascript">var accToc=true;</script><script src="http://deroc.googlecode.com/files/accordion-pack.js" type="text/javascript"></script>
Now after pasting the code above look for http://www.mybloggerlab.com and replace it with your blog URL and Publish the page now go and view your Amazing Table of Contents with Drop down style.
I Hope you would like this Table Of Contents (TOC) Widget,This widget is totally unique the reason currently we are the only one who has the working version of the Abufarhan Table of contents widget with MyBloggerTricks CSS styling so if you feel any difficulties feel free to ask till then peace, blessings and happy TOC creating
Hello thanks for sharing this, I tried this in my test blog (demonkoikoi.blogspot.com) and it is working fine for me.Tanks Again
ReplyDelete@Parigyan Tamuly
ReplyDeleteIts our Pleasure That You Liked it Pal,Thanks
http://geekyparigyan.blogspot.in/p/table-of-contents.html I have added i really like the "new" text!!
ReplyDelete@Parigyan Tamuly
ReplyDeleteYeh Brother the "NEW" Text is just amazing it updates automatically. When ever you will post updates these Text Automatically Transfers To Your New Post From Old Posts. Thanks For Liking Pal
http://itech24-7.blogspot.com/p/sitemap.html
ReplyDeleteSee The Above Url..It Is Looking Like That What To Do..Please Reply As Soon As Possible
@Ramakrishna Ch
ReplyDeleteHey Bro, Don't worry The template you are using is not well formed this is the reason why the Page is not opening. Follow the Same Steps but Don't Create a Page instead of Creating a Page Publish a Post...I repeat Again Insert your Sitemap in a Post Not in a Page. And it will work Perfectly. Peace and Blessings.
Really great.
ReplyDeleteIs it possible to add "expand all" button in this site map page?
@Syed Faizan Ali... Thank You For The Solution....Can The Template Be Changed...So That I Can Add Other Pages Too...Thanks in advance if you find a solution for my problem
ReplyDelete@Dr.Depak Muniraj
ReplyDeleteYes Brother, We can do that but it will take time. If you want it quickly then just remove the JavaScript coding and it will expand every Category automatically in the Sitemap But by doing this the categories will remain expendable. Peace and Blessing.
@Ramakrishna Ch
ReplyDeleteYeah why not If you want to Change a Template then Download any template from http://btemplates.com/ Then Go To Blogger.com >> Your Blog >> Template >> Backup/Restore (This Button will be on Right Side Under your Blogger Display Name) >> Now Select Choose File >> Upload Your Template >> Save >> and Done.Peace and Blessing Buddy
sorry!...i mean not to change the template...any code to display the page properly
ReplyDelete@Ramakrishna Ch
ReplyDeleteOh alright Brother it is complicated but not impossible, You can give admin access to me so I can help you further in this issue.
@Ramakrishna Ch
ReplyDeleteAs currently i Don't know what is the issue in the template. Peace Pal
i can grant you will you do it for me now.....i want your emal id...mail me it ti chnani42@gmail.com
ReplyDelete@Ramakrishna Ch
ReplyDeleteEmail Sent Brother, Yes why not i said previously MBL (MyBloggerLab) is yours we are here to assist you every time :).
YTou must read this article before adding toc or sitemap widget on blogger :
ReplyDeletehttp://www.netinfozblog.in/2012/05/is-sitemap-widgets-for-blogger-good.html
This article is about its advantages and disadvantages.
Salaam brother can you tell how to hide certain labels in sitemap http://subulussallaam.blogspot.in/p/site-map.html
ReplyDelete@Subul us Sallaam
ReplyDeleteHey Pal, Sorry Brother But Currently In This BETA of Sitemap this function is not added. But Soon in latest version we will try to remove some bugs and will add more stunning features. till then Stay tuned. Peace Buddy
Im Indonesian Blogger. this is great, i have it succesfully visit the beautifull blog created by me http://blogger-totabuan.blogspot.com
ReplyDeleteHello, I have about 4000 post with label, 1 post 1 label. Can this show all ? :(
ReplyDeleteThanks for sharing about sitemap tools. But bing webmaster do not accept my sitemap
ReplyDeleteGreat Dude Thanks A Lot :)
ReplyDeletethank you so much... this works perfectly on my blog... i need a little favor!!! can we just sort the desired lables in table of contents??? look at my blog's table of contents.. it kind of messy... i just need to show the desired lables in contents page??? is that possible??? http://www.galaxyyoung.in/p/table-of-content.html
ReplyDelete@Em Ji Madhu
ReplyDeleteFor that You have To Do it Manually If you want to List only Certain Labels. You have To Do Everything from Scratch and it will not update automatically you have to do on your own then. Soon we will release that Manual Site map Stay tuned
I test to
ReplyDeletehttp://basecinema.net/
thanks alot
thanks bro
ReplyDeletehttp://digiunive.blogspot.com/
hi bro, how can i put the table of content and the details in the same page?
ReplyDeleteFirst Write Your Details and Then Paste the Above Coding. By doing this both things will appear on same page. Peace
Deletehi Ali,
ReplyDeleteMy sitemap page showup when i use google chrome, but it didn't show up when i use firefox or IE. Already clear cache and cookies. Could you please help ? My blog is www.abangdownload.com
Any help would be appreciate
solved, thanks for the widget
ReplyDeletewww.abangdownload.com
after adding code that page tabs are not appearing
ReplyDeleteWhat kind of error you are actually face. Please provide details. Peace
DeleteThank you!
ReplyDeleteIt is working on my blog @ http://discoverbooktravel.blogspot.com !
I am getting a TOC page, but it is blank. I do have a question. On the step that says to paste the code with the script, it doesn't say whether to paste it before, after, or replacing the existing code. Might that be my problem?
ReplyDeleteThanks for Commenting, You can Paste the Script any where you like in the Blogger Post Editor (HTML TAB). Hope that helps. Peace
DeleteThanks a lot it worked absolutely well.
ReplyDeleteI implemented it on my blog sajeelit.blogspot.com
At the start it worked properly but now it has messed up with my template.
DeleteNow i cannot upload my previous template.
Thanks mate, worked really well. Would it be possible though to display the posts under each heading in chronological order? (i.e. the order with which they were posted)
ReplyDeletethanks heaps,
http://onandoffthegringotrail.blogspot.com.au/p/blog-page.html
Unfortunately, it is not possible with the current setting.
DeleteWould it be possible to go into the .js scripts and change them?
DeleteYep, you can try your luck!
DeleteHi I've been loooking around on Google when i came across your site. The sitemap works fine and looks very profesional,thanks for sharing.
ReplyDeletethanks allot for this amazing post i have been looking for this and finally i got it...
ReplyDeletehttp://ansmachine.blogspot.com/p/sitemap.html take a look of my sitemap
http://jobs-bowl.blogspot.in/p/sitemap.html
ReplyDeleteyes it is very helpful
I have alot of pages, and only one post. This only shows posts. How do I get pages too?
ReplyDelete