Recently in Tricks and Workarounds Category

The order and presence of various fields and elements on the Create Entry and Create Page screens of Movable Type can be easily changed, as I wrote about earlier.  But you can do it only for the user that is currently logged in.  What if you want to set these options for all users on a blog?  With a smallish number of authors, you could contemplate doing it manually: logging in and out and rearranging things for each user separately.

Getting all Entries Linked to an Asset in Movable Type

| No Comments | No TrackBacks
A while ago I needed to be able to display a list of images along with the blog entries in which they occurred.  Movable Type has an <mt:EntryAssets> tag that makes it very easy to show a list of entries with the images in them, but the reverse tag (<mt:AssetEntries>) didn't exist, unfortunately.
Recently someone on the Movable Type Open Source mailing list asked if there was an easy way to determine if an entry was being looked at in Movable Type's "preview" mode as opposed to being published "for real".  This might be useful to hide (for example) statistics tracking code, popups, automatic redirection scripts etc.

Downloading Older Versions of Movable Type

| No Comments | No TrackBacks
If you ever need an older version of Movable Type (for example to resurrect an old database or to test an old plugin), bookmark this link: http://www.movabletype.org/downloads/archives/
I have recently installed the TwitterCommenters plugin on this site, meaning you can now leave a comment using your Twitter username and password.  However, if you just install this plugin on a plain Movable Type installation you are likely to get an error message that reads "Can't call method 'permalink' on an undefined value", even if you followed the installation instructions to the letter.
This forum posting asks the question if it is possible to do something like 
<mt:entries tag="@sometag AND $somethingelse">...<mt:entries>
to get all entries tagged with "@sometag" and some other tag (which is stored in the $somethingelse variable).
User Xtencil on the Movable Type Forum asks how he can show an entry in a different way depending on the number of assets present in the entry.  For example, if there are no images vs. if there are one or more.  He already attempted to use the EntryAssetsCount tag, which failed because this tag does not exist.  But never fear...
For some time now you can sort entriesin Movable Type by the value of one of their custom fields, which is really neat and allows you to create your own arbitrary orderings.  However, the sorting always happens alphabetically, which means that '100' ends up before '11'.  How to fix this?

How to Disable Zemanta on Movable Type 5

| No Comments | No TrackBacks
Zemanta is a really cool plugin that comes bundled standard with Movable Type in the most recent versions available (both for MT 4.x and 5.x).  While you are writing a blogpost, it automatically scans the contents for keywords and offers you various recommendations of related content, like links, images or tags.  With one click you can then add these to your post.  However, Zemanta's controls can take up quite a bit of screen real estate and on slower computers with a bad internet connection it can also slow you down.  This can be annoying, especially if you are not using any of its functions.

Don't Ignore Movable Type's <mt:ignore> Tag

| No Comments | No TrackBacks
When faced with a Movable Type blog that is sometimes slow to publish, you could immediately break out the heavy guns and set up some performance logging to try and find out which templates are taking too long to publish.  There is an entire section of the documentation dedicated to this.  But before editing configuration files and starting to pore over logfiles, don't ignore the humble <mt:ignore> tag...