{"id":10502,"date":"2007-01-04T09:59:16","date_gmt":"2007-01-04T16:59:16","guid":{"rendered":"http:\/\/hill-kleerup.org\/blog\/wp\/2007\/01\/04\/when-mtentrynext-isnt.html"},"modified":"2007-01-04T09:59:16","modified_gmt":"2007-01-04T16:59:16","slug":"when_mtentrynext_isnt","status":"publish","type":"post","link":"https:\/\/hill-kleerup.org\/blog\/2007\/01\/04\/when_mtentrynext_isnt.html","title":{"rendered":"When MTEntryNext isn&#8217;t"},"content":{"rendered":"<p>So in playing around with some stuff last night, I <a href=\"https:\/\/www.hill-kleerup.org\/blog\/2007\/01\/03\/in_my_copious_free_time.html\" target=\"_blank\">discovered<\/a> that on the individual entry archives, in the little triptych of links at the top of each entry <em>(previous entry | MAIN | next entry)<\/em>, the next entry was always (erroneously) pointing to the most recent entry.  Which is &#8230; annoying.<\/p>\n<p>When I poked at the error a bit more, I discovered this behavior was true for all the blogs on my installation &#8212; i.e., it was not (as I first guessed) a template error, but something about my MT installation as a whole.<\/p>\n<p>I went to the forum and found <a href=\"http:\/\/forums.sixapart.com\/index.php?showtopic=59596&amp;st=0&amp;p=244730&amp;#entry244730\" target=\"_blank\">this thread<\/a>, which seemed to match the problem, and I took the &#8220;reinstall the entire php\/lib directory&#8221; route &#8212; which sounded plausible because of frequent problems I have with getting full FTP loads on my MT installs, but which also cause problems because of those frequent problems (eventually resolved).<\/p>\n<p>But that didn&#8217;t solve the issue.  <\/p>\n<p>I then found <a href=\"http:\/\/forums.sixapart.com\/index.php?showtopic=59182&amp;st=0&amp;p=244628&amp;#entry244628\" target=\"_blank\">this thread<\/a>, which, even though it was for MT 3.32, seemed to fix my problem under MT 3.33, i.e., in the <em>php\/lib\/block.MTEntryNext.php<\/em> file, delete out the line that reads &#8220;&#8216;lastn&#8217; =&gt; 1,&#8221;  Save the file, and, hey-presto, everything is working.<\/p>\n<p>I hate hacking the source files, but it did the job.  So I&#8217;m posting this here so that, next time I upgrade, if the problem recurs I&#8217;ll know how to fix it.<\/p>\n<p>Alas, this fix has not solved my Monthly Archive problem (i.e., that it loads up every entry in the blog, not just the month in question).<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So in playing around with some stuff last night, I discovered that on the individual entry archives, in the little triptych of links at the top of each entry (previous&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-10502","post","type-post","status-publish","format-standard","hentry","category-blogging"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5853,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/07\/09\/firefox_buttons.html","url_meta":{"origin":10502,"position":0},"title":"Firefox, buttons, MT, rich text editing, and me","author":"***Dave","date":"Fri 9-Jul-04 8:46pm","format":false,"excerpt":"Okay, the code all works (including a small button and an Amazon image button) in the bm_entry (Bookmarklet screen) and edit_entry (MT Edit screen). Woo-hoo, and hoody-hoo. Problem is, I...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11897,"url":"https:\/\/hill-kleerup.org\/blog\/2008\/01\/05\/installing_movable_type_4.html","url_meta":{"origin":10502,"position":1},"title":"Installing Movable Type 4","author":"***Dave","date":"Sat 5-Jan-08 8:03pm","format":false,"excerpt":"I'm going to use this post to keep track of my MT4 installation.\u00a0 The good folks at Hosting Matters (who are probably sick and tired of my site sucking...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13352,"url":"https:\/\/hill-kleerup.org\/blog\/2009\/01\/14\/tweet.html","url_meta":{"origin":10502,"position":2},"title":"Tweet!","author":"***Dave","date":"Wed 14-Jan-09 10:36pm","format":false,"excerpt":"Okay, so it looks like I've gotten the Twitter-to-MT thing working. Yay! Easy (if short) blogging from the road, by just sending an SMS message to Twitter from my mobile....","rel":"","context":"In &quot;Blogging - Technical&quot;","block_context":{"text":"Blogging - Technical","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging\/blogging-technical"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":100,"url":"https:\/\/hill-kleerup.org\/blog\/2003\/06\/13\/okay_one_more_t.html","url_meta":{"origin":10502,"position":3},"title":"Okay, one more try","author":"***Dave","date":"Fri 13-Jun-03 11:01am","format":false,"excerpt":"So, here I am with the grand-daddy of them all, w.bloggar. Nice interface. Solid bunch of HTML-related tools and options. Custom tags. Ability to use your own CSS on the...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10135,"url":"https:\/\/hill-kleerup.org\/blog\/2006\/08\/25\/plug_it_in_plug.html","url_meta":{"origin":10502,"position":4},"title":"Plug it in, plug it in &#8230;","author":"***Dave","date":"Fri 25-Aug-06 4:57pm","format":false,"excerpt":"Did some long-overdue playing around with Movable Type plug-ins today. (And, no, I haven't upgraded to 3.3 yet, nor have I solved the MT-Notifier problems, so shut up.) Two worked...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3157,"url":"https:\/\/hill-kleerup.org\/blog\/2002\/07\/31\/more_more_more.html","url_meta":{"origin":10502,"position":5},"title":"More!  More!  More!","author":"***Dave","date":"Wed 31-Jul-02 12:56pm","format":false,"excerpt":"Props for this cool MT hack to the ladies at Scriptygoddess (for writing\/modifying) and to Doyce (for debugging for this blogging nitwit)....","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/10502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/comments?post=10502"}],"version-history":[{"count":0,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/10502\/revisions"}],"wp:attachment":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/media?parent=10502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/categories?post=10502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/tags?post=10502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}