i made a few simple movable type customization’s that i wanted to share with people. after consulting the folks in the mt support forum they informed me that it was ok to release the changes. i do however have to warn people that these changes are not supported by six apart and i don’t take responsibility for their effect on your installation. they are all rather simple changes but i recommend you backup the original files before placing these files in your mt installation.


what version of mt is supported? — 2.63


what was changed? — after installing the simplecomments plugin i found it annoying that the individual entry was not updating after a trackback occurred. to fix this i added some code to their trackback perl module. while i was in there i noticed that my rss feeds and other feeds were being updated when a comment or a trackback was posted. since i don’t provide a comment rss feed and i wanted these updates to be as fast as possible i obviously wanted to stop that from occuring. another thing i’ve noticed recently is that my new posts and updates have been publishing a lot slower. i’m not sure if this is due to the mtincludes i’m using now or the feeds i added. anyhow, if you don’t want to incorporate this update change, but want the trackback change, then just replace the trackback.pm file that’s included in the zip with the one in your installation and ignore the other two changes.


how do yes install it? — it’s rather simple actually. first thing you need to do is backup the following files in your mt install:

  • /mt/lib/mt.pm
  • /mt/lib/mt/app/comments.pm
  • /mt/lib/mt/app/trackback.pm

then just copy the files from the zip file into the same location as the files you just backed up. that’s it!


how do i test the changes? — create a new posting that is a trackback to another posting. you should notice, if your using simplecomments, that the entry is now updated. in the past this didn’t happen when a ping occurred. you should also notice (if you installed all of the changes) that your rss feeds did not update. this is by design and if you don’t want this behavior revert the changes to the comments.pm and mt.pm files.


how can i see what you changed — do a search on “sean willson” in the files, there are copious comments. be forewarned, i didn’t change much so don’t expect all kinds of weird hacks.


are there any caveats to making these changes? — there are a few things i should caution you to. the first would be that these changes are not supported, but i already said that didn’t i? the second would be that you need to realize that any time anyone pings your entry it will get updated. so if you get those annoying 4-5 pings to one posting like some people do, it will update each time. you’ll likely then want to go back and remove those excess pings and then rebuild the entry. since most people don’t do that though, it’s not a big deal to me. i thought it appropriate to warn you ahead of time though.


are diff files available? — i didn’t initially think of this but since the first comment asked for it i threw it together.

finally, download the changesmt-2.63-mod-1-sean.zip (18 k)