tag:blogger.com,1999:blog-6729541215652149967.post3631810844710587111..comments2024-03-21T13:01:18.480+02:00Comments on Yet Another Blogger Tips Blog: Blogger posts in chronological order, 2011 versionMS-potilashttp://www.blogger.com/profile/05137522196636058302noreply@blogger.comBlogger103125tag:blogger.com,1999:blog-6729541215652149967.post-31509551221786791502020-05-21T05:19:59.243+03:002020-05-21T05:19:59.243+03:00Hello I cant get this to work on my blog https://j...Hello I cant get this to work on my blog https://jimikehub.blogspot.com please what might be the cause?Michael Oladoyehttps://www.blogger.com/profile/15676592282929962872noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-6484277487372477102018-09-09T20:48:14.957+03:002018-09-09T20:48:14.957+03:00You know that Cynthia is married with children why...You know that Cynthia is married with children why wont u respect there marriage fagAnonymoushttps://www.blogger.com/profile/08440960351977958878noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-84983847089940837492018-09-09T20:47:10.010+03:002018-09-09T20:47:10.010+03:00@MS-potilas go fuck yourself im married to Joseph ...@<a href="#c5906024782253062063" rel="nofollow">MS-potilas</a> go fuck yourself im married to Joseph a great guy with a big dickAnonymoushttps://www.blogger.com/profile/08440960351977958878noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-79536277808406566982018-08-08T05:51:11.132+03:002018-08-08T05:51:11.132+03:00Really helpful post, thank you.Really helpful post, thank you.Angelahttps://www.blogger.com/profile/13036771991388790103noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-6613880649820154642018-02-20T21:26:05.202+02:002018-02-20T21:26:05.202+02:00Hi,
The code works ok in some templates but this:...Hi,<br /><br />The code works ok in some templates but this:<br />https://www.arousatv.com/search/label/sociedad#order=ASC<br /><br />what can i do to make it works?<br /><br />thanks!Alcainehttps://www.blogger.com/profile/09637362976710807195noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-58000566846411475532017-12-29T23:15:39.801+02:002017-12-29T23:15:39.801+02:00الموقع الأول للدراسة
Bitcoin<a href="http://www.raitube.com/vb/f19.html" rel="nofollow">الموقع الأول للدراسة</a><br /><a href="http://www.raitube.com/vb/f40.html" rel="nofollow">Bitcoin</a>watchhttps://www.blogger.com/profile/02694602439383150163noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-21810947520133860642016-10-04T07:12:51.438+03:002016-10-04T07:12:51.438+03:00@Mario Trujillo
Hi, unfortunately I don't hav...@<a href="#c7093831792886619538" rel="nofollow">Mario Trujillo</a> <br />Hi, unfortunately I don't have a clue. Maybe the html (DOM, document object model) is so different on mobile phone that this won't work. I'll try and take a closer look some day.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-70938317928866195382016-10-01T10:38:10.500+03:002016-10-01T10:38:10.500+03:00Nice piece of code!
It's working nicely in de...Nice piece of code!<br /><br />It's working nicely in desktop view but i cant make it work in mobile view when the ?m=1 for mobile is added. any clues?<br /><br />thanks for your work<br /><br />Mario Trujillohttps://www.blogger.com/profile/02033506395250610168noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-83981945226002431752016-08-24T08:48:29.988+03:002016-08-24T08:48:29.988+03:00@SwordofCreation
Hi, actually, the screen shot in...@<a href="#c6798393615711448860" rel="nofollow">SwordofCreation</a> <br />Hi, actually, the screen shot in my article is not from Blogger's html editor, but from browser's "inspect mode", where you can see the DOM the script will modify. Your editor seems to be up to date.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-67983936157114488602016-08-23T23:43:52.862+03:002016-08-23T23:43:52.862+03:00Hi there and thanks a million for this work; it...Hi there and thanks a million for this work; it's strange that such an obvious feature is omitted and now comments in youtube too are no longer threaded properly creating confusion. "I can create accidents too!", said the witch. ;D)<br /><br />Anyway, when attempting to install this it was noticed by editor interface is completely different than yours which looks far newer, even though my blog was started after.<br /><br />Here's a link with the screen shot and I was wondering if anyone else had mentioned this as ZERO shows up on search?<br /><br />http://dragonspawsand22.blogspot.com/2016/08/example-with-my-version-of-blogger.html<br /><br /><br />Thanks a million!SwordofCreationhttps://www.blogger.com/profile/05536192932314332975noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-12268237470698378742016-06-28T05:42:33.565+03:002016-06-28T05:42:33.565+03:00Thank you so much for all the work you did on this...Thank you so much for all the work you did on this. It worked great!!!<br /><br />I am not a programmer and I was able to follow your directions perfectly. I did do a backup before I started :)<br /><br />Can you help me with the widget code? I would like the link "Articles in Chronological Order" to toggle to "Articles in Reverse Order" to resort to the normal order...and back and forth.<br /><br />Thanks again,<br />TobeyTobeyhttps://www.blogger.com/profile/00212641843645555640noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-62527463170390120012016-06-07T09:11:29.057+03:002016-06-07T09:11:29.057+03:00@rakan dana
Hi,
when you let Blogger load the pag...@<a href="#c4105184765123910522" rel="nofollow">rakan dana</a> <br />Hi,<br />when you let Blogger load the pages, you cannot alter the whole ordering of the articles, only on one page. But you could use a different method: load all articles from blog feed, (reorder them,) and display them using pagination.<br /><br />I have done another version of the chronological post order, which uses this method. It can be found here: <a href="http://yabtb.blogspot.fi/2011/10/blogger-feed-chronological-order-posts.html" rel="nofollow">http://yabtb.blogspot.fi/2011/10/blogger-feed-chronological-order-posts.html</a><br /><br />The code in the article uses Google Feed API, if you want to use json feed, I've modified the code, link in this comment <a href="http://yabtb.blogspot.fi/2011/10/blogger-feed-chronological-order-posts.html?showComment=1359987835150#c6807246255567172235" rel="nofollow">http://yabtb.blogspot.fi/2011/10/blogger-feed-chronological-order-posts.html?showComment=1359987835150#c6807246255567172235</a>.<br /><br />You should reorder the articles in "doThings" function using the method you want before showing them.<br /><br />Hope this gives you some ideas where to go :)MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-41051847651239105222016-06-06T22:52:13.134+03:002016-06-06T22:52:13.134+03:00hi admin.. your article is great .. very creative....hi admin.. your article is great .. very creative...thanks to you..<br /><br />Currently..i'm looking for a solution to reorder blog post by number ascending or descending.. for example : http://rd-center.blogspot.my/<br /><br />The sorting script functioned well but the problem is it's only sort by single page not the whole pages.. how to hack the system so that it can sort the whole pages by single click like blogger "order by date" works.<br /><br />hopefully you could share it with us.. very thankful to you...<br /><br />Anonymoushttps://www.blogger.com/profile/17978376634770365952noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-23969286374737718942016-04-27T19:25:38.084+03:002016-04-27T19:25:38.084+03:00Hi there! Thanks for your examples, it set me on t...Hi there! Thanks for your examples, it set me on the right track to reverse my blogger posts. I had found a pictographic template I like, and think it interfered with your code, so I re-wrote the JS to work:<br /><br />var Blog1 = document.getElementById('Blog1');<br />var Posts = Blog1.getElementsByClassName('date-outer');<br />var lastPost = Posts.length - 1;<br /><br />var i = 0;<br /> while (i < lastPost) {<br /> Blog1.getElementsByClassName('blog-posts')[0].insertBefore(Posts[lastPost], Posts[i]);<br /> i++;<br />} <br /> <br /><br />It basically finds Blog1, counts the "date-outer" divs below it, and assumes that's the post count. then shuffles them around as necessary.<br /><br />http://wetroomblog.blogspot.co.uk/<br /><br />If the template used doesnt have the same "date-outer" div hierarchy under Blog1, it will need to be modified to work.<br /><br />Also, in doing so, realised I can specify any particular post in any particular position, so that could be useful if I want certain posts sticky in the future. Would do this by using the InsertBefore function with a fixed index on the Posts array.<br /><br />Took me a while to figure it all out, so hope it helps someone in the future!<br /><br />Cheers,<br />BenAnonymoushttps://www.blogger.com/profile/16409394192086728439noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-2194079261586094342013-10-26T12:20:30.721+03:002013-10-26T12:20:30.721+03:00@HenningKO
It is the amount of posts that one blo...@<a href="#c6301586671854333220" rel="nofollow">HenningKO</a> <br />It is the amount of posts that one blog page shows at most, it can be set in blog's Settings >> Posts and comments.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-63015866718543332202013-10-25T17:45:56.815+03:002013-10-25T17:45:56.815+03:00@MS-potilas
Ah I see. Well I'm not done fill...@<a href="#c4534108768317795511" rel="nofollow">MS-potilas</a> <br /><br />Ah I see. Well I'm not done filling in the blog, we'll see if I run into the limit. Is it something like the 500 posts you mention in the other hack or is it more like 50?Anonymoushttps://www.blogger.com/profile/02684444549726109409noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-45341087683177955112013-10-25T08:47:06.263+03:002013-10-25T08:47:06.263+03:00@HenningKO
Hi,
thanks for your reply. Yes, remov...@<a href="#c2175955824273972204" rel="nofollow">HenningKO</a> <br />Hi,<br /><br />thanks for your reply. Yes, removing the conditional statements makes it reverse the posts always. This works especially for small blogs where the entries fit the home page, but if there are more entries, then home page shows only the latest posts in chronological order, not beginning from the first post.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-21759558242739722042013-10-24T23:55:59.112+03:002013-10-24T23:55:59.112+03:00[ Reposting because I didn't press preview bef...[ Reposting because I didn't press preview before posting last time and my bits of code got squashed. Sorry. ]<br /><br />I'm not too big of a coder, but I was able to get chronological order to work over the whole blog, including labels and archive by just commenting out that conditional at the beginning of your code:<br /><br /><!-- post reversal code by mspotilas 2011 --><br /><!-- <b:if cond='data:blog.pageType == "index"'> --><br /><br />And of course, same with the </b:if> at the close. It seems like this is what a lot of people are looking for. I, for one, am not interested in preserving the typical blog order of the default page, I just want my whole blog to work in chrono order and your code, with my little tweak (and also your dates on all posts hack) works great for this! You don't have to worry about applying it to specific urls or always giving your url to people with the #order=ASC attached, it just works without that conditional telling it WHERE specifically to work...<br /><br />Check it out: <a href="http://amerikangesichter.blogspot.com/" rel="nofollow">the blog in question</a>Anonymoushttps://www.blogger.com/profile/02684444549726109409noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-56487906044855552792013-05-01T16:57:49.629+03:002013-05-01T16:57:49.629+03:00@Dominic
Hi, you can put the link in a sidebar ga...@<a href="#c5921912616164963674" rel="nofollow">Dominic</a> <br />Hi, you can put the link in a sidebar gadget, for example. Design -> Layout -> Add gadget. You can use link list gadget or html/javascript gadget.<br /><br />Sorry for the late answer, I was on holiday. :)MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-59219126161649636742013-04-18T22:33:57.179+03:002013-04-18T22:33:57.179+03:00I'm trying to get this to work but am having t...I'm trying to get this to work but am having trouble. If I add #order=ASC to my home page in the browser's address bar and hit F5, it works. My problem is identifying where to insert the #order=ASC in the HTML code. I've entered it in a couple of different spots where I thought my URL was but it didn't work. How do I find where my URL is within the HTML code?<br />Dominichttps://www.blogger.com/profile/07366647003878178428noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-48840260438019365742013-03-05T11:51:38.397+02:002013-03-05T11:51:38.397+02:00@Meiser
Thanks, great improvements and simple ins...@<a href="#c8769905602558868503" rel="nofollow">Meiser</a> <br />Thanks, great improvements and simple installation with external .js file, I think this could be called the 2013 version. :)MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-87699056025588685032013-03-05T00:01:47.219+02:002013-03-05T00:01:47.219+02:00Hi everyone.
An example of use of the code is ava...Hi everyone.<br /><br />An example of use of the code is available at this address:<br />http://test-ordre-chronologique-2.blogspot.be/<br /><br />Explanations can be found here : <br />http://modifier-les-modeles-de-blogger.blogspot.com/2009/11/reverse-order-of-posts-more-1.htmlMeiserhttps://www.blogger.com/profile/14991764342974912982noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-58899606377484850542013-03-03T20:04:49.774+02:002013-03-03T20:04:49.774+02:00Good evening.
It works. Thank you. Good evening.<br />It works. Thank you. Meiserhttps://www.blogger.com/profile/14991764342974912982noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-8731280837315726182013-03-02T14:26:41.404+02:002013-03-02T14:26:41.404+02:00@Meiser
That is a bit tricky, because the element...@<a href="#c5292180630174771229" rel="nofollow">Meiser</a> <br />That is a bit tricky, because the element does not exist until it is seen on the screen, so getElementById fails. CSS is a way to modify the style before element exists. Because you use jQuery, the following should work, insert it in a script block before </head><br /><br />if(window.location.href.indexOf('order=ASC') > -1) $('<style type="text/css">#main { margin-top: 400px; }</style>').appendTo("head");<br /><br />And this line:<br /><br />document.getElementById("main").style.marginTop = "0px";<br /><br />add it to my script between lines 78 and 79 (both lines contain '}').MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-52921806301747712292013-03-01T19:11:27.075+02:002013-03-01T19:11:27.075+02:00Good evening.
Thank you, but what is desirable is ...Good evening.<br />Thank you, but what is desirable is to avoid ONLY the display 5-4-3-2-1 (1-2-3-4-5 before) WHEN requesting the display in chronological order.Meiserhttps://www.blogger.com/profile/14991764342974912982noreply@blogger.com