If the result list is too large, please consider these hints

  • Reduce the number of websites.
  • Add more keywords.
  • Use quotes for building terms from keywords. For example, the phrase banner image searches for all articles containing both words. However, "banner image" searches for the exact two-word phrase.
191 hits12345678910

161. Concerning Spam

Movalog, News, 25 KB, 521 words

In recent days, spammers seem to becoming smarter and smarter. Adam Kalsey points out a new technique whereby spammers post comment spam that links to other blog entries. But on inspecting those entries one sees that it has been flooded with spam. The problem is, many weblog authors don't really care about spam and won't remove them.

In fact blog spam has reached such heights that The Register has written an article on the subject and mention MT-Blacklist. If you are a weblog author that is bothered by comment spam, you must install MT-Blacklist

Another new technique comment spammers have discovered is using HTML entities in their urls. For example rather than they enter in...

continue reading ...

162. Extending the Sidebar

Movalog, Tutorials, 26 KB, 526 words

Matthew writes

I am trying to make the side bar in Movable type to extend to the bottom of the page. I have gotten it to work in IE but not firefox. You can take a look at my site

Quite a few people ask me this question (you can see the problem in the screenshot -- click for larger view), and this problem was fixed in the default templates. It can be combatted in two ways.


Add the following to your stylesheet

#container:after, .content:after { content: "."; display: block; height: 0; clear: both; overflow: hidden; }


Alternatively, on every template that you have a sidebar, add the following code just before the end tag of the #container div

<div style="clear:...

continue reading ...

163. MT SCode 1.0

Movalog, Tutorials, 28 KB, 750 words

UPDATE: Fixed a bug where the image would only appear when you were logged into MT. Its a one line fix in

Although CAPTCHAs have several problems, there is no denying that catch most (if not all) of the spam. The most popular CAPTCHA generating plugin for Movable Type, SCode, had not been updated in a long time as the author had migrated to Drupal. It still involved hacking and did not integrate with 3.2's new junk/feedback framework. As a result, I took the plugin and did some major re-writing to make it work with 3.2. A run down of the new features: • No Hacking Required - Simply drop the plugin in and enable it to use • More Friendly UI - Previously, you would have to set...

continue reading ...

164. SubCats and Contents

Movalog, Tutorials, 27 KB, 587 words

UPDATE: There seems to be a bug with the Sub Categories code which prevents this tutorial from working properly in static index templates. In dynamic index templates it works as it is meant to. Differences can be seen between static and dynamic

Following on from Elise's Expandable List Menus tutorial, this is a way to incorporate Sub Category relationships in your Table of Contents or other similar pages.

Add the following code to an index template wherever you want the Category/Entry list

<div class="subcats"> <MTSubCategories> <MTSubCatIsFirst><ul></MTSubCatIsFirst> <li> <h3><a...

continue reading ...

165. Automatic Acronyms

Movalog, Tutorials, 26 KB, 577 words

Acronyms are used in weblogging practically everyday with things like Mt, 6A, IIRC etc. It has been suggested for accessibility purposes that every acronym be giving a definition. Now if you use a lot of acronyms in one post it can be very tiresome to keep typing out the code everytime, so why not make MT do it automatically ?

UPDATE: The best way to do this is to install the Acronym plugin that will do all this for you, automatically! Alternatively you could do it manually as described below

To do this you will need Brad Choate's MTMacro plugin.

Create a new template module and populate with code:

<MTMacroDefine no_html="1" name="mt"...

continue reading ...

166. QuickTags

Movalog, Tutorials, 27 KB, 880 words

UPDATE: An updated entry can be found here This is now out dated !

I loved the quicktags available in WordPress. They were just so much more powerful that then four offered within MT. So Carthik pointed my to quicktags the javascript used my WordPress.

So I hacked MT to remove the pathetic little buttons and put these more powerful ones on there - see the screenshot.

You will need two files: •

The Quicktags Javascript - put this file in your StaticWebPath •

edit_entry.tmpl - this file should go in MT_DIR/tmpl/cms/

I've not yet get it to work properly with the Extended Entry, currently it only work with Entry Body. If anyone is able to help me with this I'd appreciate it !

UPDATE: I uploaded another...

continue reading ...

167. Power Edit Feedback

Movalog, Tutorials, 27 KB, 594 words

Feedback during Power Edit was a popular hack that unfortunately didn't work with with v3.2. As a result, I rolled the hack into a plugin which I've appropriately dubbed "PowerEditFeedback." This plugin works exactly like the hack except its been updated for v3.2 - the plugin adds two checkboxes, one for the comment status and the other for the trackback/ping status to the power editing page. Installation is very simple, just download the plugin and unzip it in your MT folder preserving the directory structure. As a result, you will get a folder called PowerEditFeedback under your plugins folder, and that's about it, the plugin does the rest!

continue reading ...

168. Ask Arvind

Movalog, News, 26 KB, 572 words

I'm quite pleased to announce Ask Arvind Hopefully this will generate content that is relevant and useful for you readers. Basically do email me all questions you have within consideration. Please don't ask me questions to do with install, upgrade problems. Those questions are best answered on the MT Support Forums

Sometimes I will feed the need to publish the question/answer - if you really don't want this please say so in the question ! If I don't feel that I need to publish the question/answer rest assured I will answer your question personally either telling you how to do it or point you in the right direction !

[ Ask Arvind]

continue reading ...

169. Tabs 2.0

Movalog, Tutorials, 26 KB, 628 words

I'm not sure why I've chosen the new version number to be 2.0 but none-the-less, the new version of Tabs is here. This new version boasts a new feature that will make multi-tasking easier. The "open links in sidebar" checkbox will open the MT manual (or WP Wiki) in the sidebar hence allowing you to edit your template in the main window whilst browse through the tags in the sidebar. Also this new version features a slick new CSS (with updates from Kasey) and javascript 'magic' thanks to Akmal. With 2.0, support for the Opera browser has also been added.

Any suggestions, feature requests, complaints etc. are always welcome. Please post those in the comments. • MT TabsWP Tabs

continue reading ...

170. Email Whitelister 1.0

Movalog, Tutorials, 28 KB, 796 words

A recent thread on the Professional Network had people talking about how they could trust non-Typekey commenters and someone requested an ability to "Trust" commenters based on their IP. Turns out, I had written a plugin that did exactly this a long time ago but had forgotten to release it. Quite simply, this plugin allows you to define an email whitelist. If a commenter enters an email that matches one on the whitelist, two things will happen: • The comment is credited with a junk score of +10 (the highest positive score) and depending on your junk threshold will cause the comment to be instantly approved. • The comment status is set to visible so that it will be publishedThis plugin is a great way to have some "trust" functionality for those of you that don't feel comfortable using Typekey....

continue reading ...

171. Random Banners

Movalog, Tutorials, 28 KB, 759 words

In my recent re-design on Movalog, I had three banners and unfortunately I liked them all and couldn't figure out which one I liked best. As a result, I decided to use them all.

First I moved all the images to a subfolder called banner and renamed the images to 1.jpg, 2.jpg and 3.jpg. Finally I used PHP's mt_rand function to randomly print a number from 1 to 3 (mt_rand works better than the plain rand function function), like so

<?php echo mt_rand(1,3); ?>

Hence my banner image code looks like this

<img src="<?php echo mt_rand(1,3); ?>.jpg" alt="Movalog - All Things Movable Type" />

continue reading ...

172. Uploaded Images

Movalog, Tutorials, 27 KB, 701 words

Gautam Patel asks

I want to upload images but there is some html I want generated in each image invariably (not just the standard stuff) -- for example border="0" or align="left" or whatever. How do I hack the MT tmpl files/scripts to do this?

Open the file lib/MT/App/ and around line 1902, find the following

my $link = $thumb ? qq(<img src="$thumb" width="$thumb_width" height="$thumb_height" border="0" />) : "View image";

As you can see, for the most part it is simple HTML. To align left, just add the attribute like this

my $link = $thumb ? qq(<img src="$thumb" width="$thumb_width" height="$thumb_height" border="0" align="left" />) : "View image";

There are two other lines you...

continue reading ...

173. ConfigUI 1.0

Movalog, Tutorials, 29 KB, 875 words

This is a quick plugin I wrote during the beta tests because I frequently changed the values of my config file to test bugs and hated scrolling page comments or having to manually enter in directives. ConfigUI is a plugin that quite simply adds a graphic user interface to the config file. It has been built for MT 3.2 and uses almost every new API available. It works by re-writing your config file so you need to make sure: • mt-config.cgi (or mt.cfg) is writeable by the web server • your check your settings before saving

Have a look at the screenshot to see what it looks like. It basically lists all non-critical directives (this means it doesn't list the CGIPath or Database...

continue reading ...

174. MT Protect 1.0b1

Movalog, Tutorials, 26 KB, 599 words

When I first wrote my password protection hack, I noticed two major flaws with it:

1) You had to keep re-applying the hack every time you upgraded MT (this is the case with all hacks but I found this to be a major pain)

2) The actual protection method was rather basic. The password would need to be distributed and could be leaked.

As a result, I've written a new plugin called MT Protect, a plugin that allows you to protect entries either with the use of passwords or by verifying the reader's identity through Typekey. I've currently labelled it as beta as the featureset isn't complete and I haven't thoroughly tested it. None-the-less, it should be good enough to install and use. If you...

continue reading ...

175. Fixed vs. Fluid

Movalog, Tutorials, 28 KB, 870 words

The default styles that come with MT are what is known as 'fixed' styles. This means that size of objects and their positions are fixed and are defined in pixels (px) This also means, no matter what a person's screen resolution, everything will be the same width and in approximately the same position. Now this may seem good but - especially with MT's default styles - looks bad depending on the screen resolution. Taking for example MT 3's default styles, on a 1280x1024 screen resolution, the weblog appears as quite a narrow bar that is centered on the screen - not very appealing at all.

The other option to 'fixed' designs is 'fluid' designs. A fluid design uses percentages when defining...

continue reading ...

176. Updated Template Tag Reference

Movalog, Tutorials, 29 KB, 942 words

Some of you may remember the MT Tabs bookmarklet I had created oh so long ago that was quite simply a page that listed all the template tags available for easy reference. The best part of it was that it loaded in your browser's sidebar so it wouldn't interfere with and be separate from your Movable Type installation.

Well that bookmarklet (I'm trying to phase out the name "MT Tabs", it was badly chosen and didn't really reflect what the bookmarklet did) has been updated in a major way. What's new: • Major overhaul of interface so that the tags are now more appropriately grouped and all the tags are now present (including ones I didn't know existed!) • All tags have been...

continue reading ...

177. CC Licenses 2.0

Movalog, Tutorials, 28 KB, 620 words

In MT, use of the <MTBlogCCLicenseURL> has been hardcoded to the 1.0 licenses, however these have been outdated and v2.0 of the licenses have been released a while ago. So lets hack the files so we can still use the tag.

You'll need two files, lib/MT/ and php/lib/cc_lib.php. Find in them the following line$code/1.0/

and replace it with$code/2.0/

continue reading ...

178. Moblogging with MT

Movalog, Tutorials, 27 KB, 638 words


Typepad has moblogging built in but what can you do with MT. There are certain scripts you could setup on your servers. Pop2Blog is one such script, and another is pop3-to-blog. However with these scripts you would need to setup cron jobs to scan your emails and then post to MT.

That's when I found Mfop2

Mfop2 allows you to moblog without setting up any special scripts on your own mail server. To use Mfop2, all you have to do is register some of your blog details and you will be able to post to your blog from your mobile by emailing your blog entry with images attached to

Another interesting option is mobileMT

mobileMT is a WAP interface for the MovableType...

continue reading ...

179. Feeds Burned

Movalog, News, 26 KB, 565 words

The link for the rss feed has now changed. I've finally embraced Feedburner so that I can track stats etc (no ads yet don't worry). The new feed is located here while the sideblog feed can be found here I have put permanent redirects onto the old rss files (both combined and normal) to point to the new Feedburner feed. Most RSS readers will pick this up and update it accordingly. If not then manually change it if you wish to keep up to date. Sorry for the inconvenience. The link to the Planet Movable Type feeds will remain the same as I don't want to mess around with any tracking tools used by the sites that are aggregated!

continue reading ...

180. Typelists for MT

Movalog, Tutorials, 30 KB, 990 words

A while ago, I had posted about creating a Typelists plugin for MT that would model Typelists in Typepad, I later found out that Tim Appnel was already developing a similar sort of plugin. I had emailed him that day to know where he stood in the scheme of things and got a reply back a few days ago. I've reproduced his reply here with his permission !

I am developing a "TypeLists for MT" app. I got all of the base objects working and tested. I'm also most of the way through the application. What's left is the interface (HTML), testing the application, creating various other lists and documentation. Oh... and a better name. I can't say exactly when I will finish since I have a number of...

continue reading ...


You want to post some comment? Please use the announcement post on the Movable Type Weblog.

If you want to give some feedback concerning a specific query, please use the feedback button that is shown after a search has completed.

mgs | September 27th 2005