Wednesday, 19 July 2006

MT-Preview plugin with MT 3.3

Ignore this unless you want to use Laurent Mihalkovic's MT-Preview plugin (for WYSIWYG previews of draft blog entries before you publish them) with MovableType version 3.3.

If that is what you want to do, here's how:

First, get a copy of MT-Preview, if you haven't done so already. I'm not sure that MT-Preview is still being distributed by the original author, but the license accompanying my copy expressly permitted redistribution, so I've posted a local copy here for anyone who wants it.

There is a newer LivePreview plugin that supposedly provides similar functionality. I haven't tried it, but if you don't already have MT-Preview installed, you might try LivePreview first. These installation and upgrade instructions will probably be of interest mainly to people who were already using MT-Preview with an earlier version of MT (3.2 or earlier), were satisfied with it, and have upgraded their blogging software to MT 3.3.

If you don't already have MT-Preview installed, unpack the archive, and upload the files to your MT directory (maintaining the directory structure in the archive). Set permissions (chmod) on the mt-preview.cgi file to 0755. Ignore the original instructions about hacking the template files, since the template files have changed with MT 3.3.

Back up the default MT 3.3 "edit_entry.tmpl" and "entry_actions.tmpl" files, in case you ever want to remove MT-Preview!

Download these modified edit_entry.tmpl and entry_actions.tmpl files, and upload them to your MT directory (in the ":/tmpl/cms" subdirectory) to replace the default templates.

This works perfectly for me. But if it doesn't work for you, don't blame me!

Link | Posted by Edward on Wednesday, 19 July 2006, 10:38 (10:38 AM) | TrackBack (0)
Post a comment

Save personal info as cookie?