https://buy-zithromax.online buy kamagra usa https://antibiotics.top buy stromectol online https://deutschland-doxycycline.com https://ivermectin-apotheke.com kaufen cialis https://2-pharmaceuticals.com buy antibiotics online Online Pharmacy vermectin apotheke buy stromectol europe buy zithromax online https://kaufen-cialis.com levitra usa https://stromectol-apotheke.com buy doxycycline online https://buy-ivermectin.online https://stromectol-europe.com stromectol apotheke https://buyamoxil24x7.online deutschland doxycycline https://buy-stromectol.online https://doxycycline365.online https://levitra-usa.com buy ivermectin online buy amoxil online https://buykamagrausa.net

When MTEntryNext isn’t

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…

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 entry | MAIN | next entry), the next entry was always (erroneously) pointing to the most recent entry. Which is … annoying.

When I poked at the error a bit more, I discovered this behavior was true for all the blogs on my installation — i.e., it was not (as I first guessed) a template error, but something about my MT installation as a whole.

I went to the forum and found this thread, which seemed to match the problem, and I took the “reinstall the entire php/lib directory” route — 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).

But that didn’t solve the issue.

I then found this thread, which, even though it was for MT 3.32, seemed to fix my problem under MT 3.33, i.e., in the php/lib/block.MTEntryNext.php file, delete out the line that reads “‘lastn’ => 1,” Save the file, and, hey-presto, everything is working.

I hate hacking the source files, but it did the job. So I’m posting this here so that, next time I upgrade, if the problem recurs I’ll know how to fix it.

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).

29 view(s)  

Leave a Reply

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