Fix: Blogger Dynamic Views Fails to Load Properly
Here is how to fix your Blogger dynamic views theme bug that makes menu and custom CSS disappear causing websites and blogs look ugly.
Update on 2017-09-19: Google has included our fix to the Dynamic Views theme so it is no longer necessary to manually patch it. However, if you want search engines to be able to index your website, we suggest not using Dynamic Views, as it does not offer any basic elements that are necessary for successfully indexing websites.We switched to Blogger Contempo theme and started a new project to fix its SEO issues. The new, fixed theme is applied to our travel blog. We will be releasing all the new fixes, programs and instructions on this discussion forum.
The original fix
June 9, 2013 (updated on March 25, 2015)
We fixed the problem with the dynamic views Blogger failed to fix for over six months. In about every tenth page load, custom CSS fails to load properly, there is no menu, and the dock is empty. This makes websites look ugly and leaves users stranded without navigation. When the bug happens, user has to reload the page with [ctrl]-R or [shift]-[ctrl]-R once or twice before the website gets back to normal.
According to Blogger, over 2 million people use dynamic views making this a serious problem. There were no other workarounds available except reverting back to the non-dynamic, traditional template, or changing the blogging platform. For us, changing was not an option after fixing 180+ blog posts and thousands of lines of javascript code in order to make them work with the new dynamic views template. However, changing the blogging platform might be the only viable option in future, if there will be more critical bugs that Google is not willing to fix.
Great news: we fixed the problem. It has been applied to this blog a few days ago, and according to the feedback, everything functions properly now. The instructions for the fix are below.
Thank you, Mishka, for explaining in the Google Products forum that Blogger is not going to fix the issue and does not even perceive it as a bug, but merely as an unwanted feature. After that, we started to read the javascript, which Blogger uses to render the dynamic views templates. There is a timeout function that will interrupt loading, if loading takes too long, and Blogger will render the view anyway. Because of that, when loading takes a bit longer, some parts of the GUI are not yet loaded when the rendering happens causing the bug. To fix this, we changed the timeout function to onload meaning that the page will be rendered only after it has been loaded. The earlier fix of increasing the timeout value was trivial and failed sometimes when loading the page took too long, especially when browsing with mobile devices. Special thanks to O. Marcel Aulenbacher for his help in perfecting the fix. We have been running it now over a year now and it appears to work perfectly.
To access and edit Blogger template, go to Dashboard, select Template from the pulldown menu, and Edit HTML. Then scroll down until you see the following lines at the bottom of the template:
<script language='javascript' type='text/javascript'>
setTimeout(function() {
blogger.ui().configure().view();
}, 0);
</script>
</body>
</html>
<script language='javascript' type='text/javascript'>
window.onload = function() {
blogger.ui().configure().view();
};
</script>
</body>
</html>
Click Save template. After that, go to your website and make sure everything works. If you get your dynamic views fixed, please share this page to others. There are still over 2 million bloggers using the dynamic views version that does not work properly. In case something goes wrong, leave us a comment telling what happened, so we can figure out together how to fix that. Thank you.
A similar incident happened in 2009. Is Google planning to shut down Blogger? Does this imply that the dynamic views template will soon be discontinued? Why Google fails to react to the complaints of angry bloggers? In any case, this is exactly the same kind of customer service that made us ditch Google Books permanently in 2007.

Comments
Sounds like a load of crap, but let's see what happens next. The bug remains.
Thanks for the followup and prompt feedbacks!
you rock!
Thanks a lot!
Thanks.
Mind if I link to your page in one of my posts?
thank you very much
Thor.
But now, I wonder if I also went from 500 to 800 as you did, then why not 1000?!? ;)
Thank you in advance for your response...
PS: Google France has not yet found the solution! (http://googlefrance.blogspot.fr/)!!! ;)
The longer the delay, the longer the page takes initially to load. 1000 is just 1 second, so it does not cause much delay anyway, but it is hard to anticipate possible side-effects without testing that first. We might have to have a higher delay in future when more dynamic views blogs become functional after fixing this bug, and there will be more traffic to load the javascripts and stylesheets. Currently google is not packing them and they are not really optimised for fast loading either.
We are not quite certain if google is interested in supporting dynamic views at all and fixing its bugs in future. The way they didn't react to this bug demonstrating that they really did not care about their users was quite discomforting. It might well be that the next major bug will the final show-stopper for all of us dynamic views users. There are some functionality on the platform level that can not be fixed blogger because it is not open source.
Anyway, we are hoping for the best and wishing you happy hacking and blogging!
http://thereviewonlne.info
Thank you so much for this solution which works perfectly fine - I love the new and responsive template but I was close to change platform because of this problem
Kind regards
Etienne
Regards from:
http://jimzubemophotos.blogspot.com
you are a champ am done with this :)
Pastor Matt Richard
www.pastormattrichard.com
I have being helped by Mishka: great helper!
Do you have informations about comments not being showing at static blogger pages? It is happening with me, also, Mishka is helping.
Tks,
Rafael
we have not had comments on in static pages, so we don't know how they work. It looks like static pages, as well as some older blog posts on blogs with more than 100 posts, the pages load differently so that they are not "floating" on top of the page. Perhaps this can cause problems, or it maybe be just another programming error. Do you need the commenting to be on? You could just disable comments, or re-make your static pages as ordinary blog posts and add to the pages list links to those blog post pages.
Happy hacking,
Päivi & Santeri
I was thinking of the last suggestion of yours...I think I will do this..
Thank you very much!
Rafael
http://www.thedreamreacher.com
SAIS Europe said…
Something on a similar note that I cannot find a fix for. There is a similar bug when individual pages load which stops some of the code on the page from loading correctly (facebook widget/related posts/social media addthis links)
Do you know how this can be fixed as well please?
I just saw that in a later post, that same person is now posting a solution similar to yours ;)
http://productforums.google.com/forum/#!msg/blogger/cfFRzQu6P8o/Sn1qz55hYDcJ
Mishka says : "the dynamic templates were never intended to use any kind of custom CSS". I do not use custom CSS, but the bug is here...
Concerning my blogs, I reverted back to non-dynamic, and added links with /view at the right of the URL, for people which want to see my blogs in dynamic mode. With /view, there is no bug...
We have received some emails from people who were worried that somebody had stolen the credits for making the fix. That appears to be just a misunderstanding. One of our readers had posted the fix to google product forums and then a bunch of others assumed that he had made the fix and started to spread the misinformation. So nothing serious happened except a lot of outdated copy-pastes around the forum with the old, original, timeout value of 500.
When you spread the word, it is better to link the source just in case the fixes get updated like what happened now. Perhaps we will have to increase the value once again in the future, or change the fix in some other way. Unfortunately 500 hardly works anywhere anymore thanks to the increased traffic caused by the fixed dynamic views websites.
Anyway, thanks a lot for spreading the word about the fix. It looks like thousands of dynamics views users have managed to solve their problem thanks to your effort. We promise to keep you posted and update the fix when necessary.
Happy hacking,
Päivi & Santeri
I had to look all over the internet till I found this post.
Really,thank you again!!
--
Render: http://arquitectura-virtual-jgs.blogspot.com.es/
Works: http://arquitecturaagg.blogspot.com.es/
Live: http://galarjulian.blogspot.com.es/
script language='javascript' type='text/javascript'
window.onload = function() {
blogger.ui().configure().view();
};
/script
/body
/html