Download Traveling Blogger Template

Download Traveling Blogger Template

Okay folks, turned out my luck didn’t go out! 🙂 I did some trial-and-error to fix my bug… and IT WORKED! I’d like to share it in case anyone has the same problem.

A summary:

So when you edit this template’s stuff in Blogger HTML and then you click “Preview” (of course we all want to preview what we’ve done before saving it, right?), it will look all right.
Notice that at the end of that first page (preview mode), there’s a picture of a small house (that’s a link to go back to your blog home), and a small right arrow (a link to go to the 2nd page for previous posts).

That is what YOU SHOULD GET. The preview mode is CORRECT!!

But then if you save it and load the real blog, the small house and arrow are missing!! They’re replaced by an ugly “Pages (2): 1 2 Next”.
Whatever the amount of your pages and posts, there’s ALWAYS 2 PAGES and IN THE 2ND PAGE IT’S ALWAYS YOUR VERY LAST 2 POSTS!
So the entries in-between will be missing.

————————————————–

Here’s what works:

Go to the usual Edit HTML page and find this section:

}
}

html = ‘ Pages (‘+(postNum-1)+’)’+html;

if(thisNum<(postNum-1)){
html += downPageHtml;

}

if(postNum==1) postNum++;
html += ”;

if(isPage || isFirstPage || isLablePage){
var pageArea = document.getElementsByName(“pageArea”);
var blogPager = document.getElementById(“blog-pager”);

if(postNum <= 2){
html =”;
}

for(var p =0;p0){
html =”;
}

if(blogPager){
blogPager.innerHTML = html;
}
}

Now DELETE EVERYTHING THERE, leaving the two braces after and before:

}
}

}
}

All your entries will be displayed as it should be, and the paging works fine.

↩ Reply

Download

Leave a Reply

Your email address will not be published. Required fields are marked *