Results
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.
Movalog, Tutorials, 27 KB, 656 words

Steve asks:
Quick question, how do you get the different icons to show up based on categories like you have in your personal site? Can you also do it by author?
This is quite simple to implement and can be done either with the use of plugins or doing it manually using MT Tags
Category Icons
You can either use TopicIcon to do this 'automatically' - just follow these instructions. Alternatively you can do it manually, add this code in your templates between the <MTEntries>...</MTEntries> tags.
<img src="http://www.movalog.com/images/cat_icons/<$MTEntryCategory dirify="1"$>.gif" alt="<MTEntryCategory>" />
So for example, if you had a category called...
continue reading ...
Movalog, Tutorials, 29 KB, 856 words

UPDATE: Donors check the email address through which you donated, you have a surprise waiting!
a Dropcash campaign
MT Blogroll 2.0
$102 of $100 raised so far
donate now »
I've almost finished up work on MT Blogroll 2.0 and have fixed most (if not all) issues raised with the beta. I've created a dropcash campaign for MT Blogroll 2.0's release. Once the campaign's target has been reached I will release the plugin to public. If you've found version 1.0 or version 2.0b useful consider donating to the campaign. Those that donate to the campaign get priority for support.
continue reading ...
Movalog, Tutorials, 29 KB, 825 words

After a lot of requests, its finally here. This hack will give you a more powerful listing whilst assigning multiple categories to an entry that includes the category hierarchies. As usual open up lib/MT/App/CMS.pm and around line 2772 find
$cats{ $cat->id } = $cat->label;
(make sure it is in the edit_placements subroutine) and replace it with
my @cats = $cat->parent_categories; @cats = ($cat, @cats); my $glue = " > "; my @res; while (my $c = pop @cats) { my $label = $c->label; push @res, $label; } $cats{ $cat->id } = join $glue, @res;
Finally open up tmpl/edit_placements.tmpl and replace the two occurances of style="width: 175px;" with style="min-width: 175px;"...
continue reading ...
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 something.com they enter in...
continue reading ...
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.
CSS
Add the following to your stylesheet
#container:after, .content:after { content: "."; display: block; height: 0; clear: both; overflow: hidden; }
HTML
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 ...
Movalog, Tutorials, 29 KB, 885 words

MT Blogroll has been updated to be compatible with Movable Type 3.2 and includes some new features too: • Improved UI - The UI has been drastically improved to fit in better with 3.2, you can see the new UI elements on the screenshots page. Along with the UI there are a few javascript tricks I've borrowed from Movable Type that should make your life somewhat easier • Greater Control - With MT Blogroll 2.1, you have far more control over your links, you can customize the link adding page in a fashion that is similar to MT and display the links with ease on both static and dynamic pages. • Priority Sorting - I have added a priority field and this has become the default sorting column. As a...
continue reading ...
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 SCode.pm
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 Tabs • WP Tabs
continue reading ...
Movalog, Tutorials, 28 KB, 953 words

UPDATE: I have also updated the template tag reference for Blogroll!
This is an update to fix the DateTime error faced by people from the 3.16 upgrade. I'm still using DateTime (which is included in the full distribution) because I haven't had time to explore MT::DateTime (6A's new replacement module). I have also briefly tested this plugin on Windows machine (albeit on Apache) and so far its been working, those of you on Windows try it out!
I have also fixed the two others bugs raised in the comments, the sorting problem due to upper/lower case links and the "Reset Filter" button. If you have any other bug reports please post them in the comments section or email them to me.
If you haven't upgraded to...
continue reading ...
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="http://www.movalog.com/images/banner/<?php echo mt_rand(1,3); ?>.jpg" alt="Movalog - All Things Movable Type" />
continue reading ...
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/CMS.pm 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 ...
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 ...
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 ...
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 ...