Search

Phrase

Display

 

Category

   

Order

 

Pagesize

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.
236 hits12345678910

41. Tweaking Searches

Movalog, Tutorials, 33 KB, 1306 words

Updated 09/05 - Search Throttle

The search form that comes with default MT templates is very limited in what it lets you do - basically it only lets you search the current blog and allows you to not specify any oother options. Here are some things you can do with searches. The code listed here can go into any template but the code must be placed within the search form ie <form>....</form>. Also each block of code is independent. You don't need to use previous code for it to work - as long as it is placed within the search form it will work no matter what other code you have or have not implemented !

Search Where ?

Replace the search form code you have with something like...

continue reading ...

42. HTMLArea

Movalog, Tutorials, 31 KB, 1212 words

For a few months, I had deliberated adding a WYSIWYG Editor into the Movable Type entry screen and when Typepad implemented an editor into its interface I got jealous. So, here's a way to implement the very powerful HTMLArea into Movable Type (currently only Internet Explorer, Mozilla browsers and other Gecko based browsers supported)

1. Download HTMLArea 3.0 rc-1 and upzip it 2. Upload the files to a folder called htmlarea in your StaticWebPath 3. Open up tmpl/cms/header.tmpl and add the following in <head>...</head> tags

<script type="text/javascript"> _editor_url = "<TMPL_VAR NAME=STATIC_URI>htmlarea/"; _editor_lang = "en"; </script>...

continue reading ...

43. Sort Entry Listing

Movalog, Tutorials, 34 KB, 1518 words

On the forums, someone recently commented on how the listings in MT could be improved with greater sorting flexibility. I thought that it was a very good idea and so after a bit of hacking managed to get the entry listings to be sorted, it would be easy to adapt this for the comments and trackbacks listing.

This hack will add ascending and descending sorting capabilities to the title and date fields. The rest you can use the Filter option for.

First, you'll need CMS.pm, around line 2411 in the list_entries sub, find the following

my %arg = ( 'sort' => 'created_on', direction => $sort_direction, ($limit eq 'none' ? () : (limit =>...

continue reading ...

44. MT Blogroll 1.0

Movalog, Tutorials, 31 KB, 1261 words

You now know why there hasn't been any updates in nearly 20 days! I'm very proud to announce MT Blogroll 1.0. Basically MT Blogroll is a blogroll manager, similar to blogrolling.com. You are able to store various details about a link including its URI, Name, Description and Relationship and assign them to various categories. If you have been using another blogroll manager like blogrolling.com or blo.gs, you can use the Import OPML tool to import those links into MT Blogroll.

I would suggest reading the README first which describes the installation process and includes some example code. Other documentation includes the Tag Reference which describes the template tags that MT Blogroll...

continue reading ...

45. Zoto: A Tour

Movalog, Tutorials, 31 KB, 1342 words

I have been playing around with Zoto and I'm quite impressed.

Uploading Pictures

One of the things about this service is the ease at which you can upload photos. Just download their client (called Zulu) set it up to scan folders where you put your photos and it'll do the rest for you meaning it scans the folders, makes thumbnails of the images and uploads them ! If you add photos to those folder then the client will pick them up too. I experienced a few problems with the client. It told me it had uploaded all my photos yet when I looked in my account they didn't show up, on uninstalling and reinstall the client they showed up !

Of course you could manually upload them, by selecting...

continue reading ...

46. Cruft-Free URLs

Movalog, Tutorials, 30 KB, 1313 words

The first question/answer from Ask Arvind...

Lea writes:

Can you provide tips on how to have cruft-free URLs (a la diveintomark.org, as well as others)? I already have this employed in my blog, but a lot of others don't.

The diveintomark tutorial in question can be found here.

First of all what is cruft ? Cruft is basically the extensions of webpages for example .php, .html etc. In the field of SEO it is meant to be very bad. Here's a - hopefully easier - method to have cruft-free urls. For this to work you will need to install the Short-Titles plugin (thanks Amit!)

Blank out "File Extension for Archive Files" under Weblog Config → Preferences •

Change the Archive File...

continue reading ...

47. Suggest Search

Movalog, Tutorials, 30 KB, 1291 words

UPDATE files are bundled in an archive.

I was very impressed with the WordPress Suggest plugin and wanted to port it over to MT. The porting was easy but the query was very slow and pulled some bad results from the database. Chad helped me last night and we had almost cleaned it up until v0.2 was released which seems to have fixed the problems I had. Try it using the search form on the sidebar.

This plugin is similar to LiveSearch (and the MT implementation) however the difference is it lets you keep the mt-search.cgi functionality which I liked. Also this plugin works slightly differently to LiveSearch, I prefer this!

Implementing it with MT is very easy, you need to have PHP and be...

continue reading ...

48. QuickTags Part II

Movalog, Tutorials, 33 KB, 1508 words

UPDATE: I had pulled out the functionality to check spelling with this toolbar, well I've put back the functionality. Just download the quicktags.js file that coressponds to your version of MT again and re-upload it. A new button called "Dict." will appear that will query a highlighted word to dictionary.com !

Please go to the MT 2.x instructions to fix a problem with the Quicktags not aligning properly.

This tutorial will allow you to have the Quicktags I described in my previous entry but is not restricted to MT 3.01D.

The files you will need:

Quicktags.js

The MT 2.x Version | The MT 3.x Version

Upload the quicktags js file to your staticwebpath - ie the same folder than...

continue reading ...

49. XML-RPC & forms

Movalog, Tutorials, 33 KB, 1463 words

When I set about re-creating MovaDir, I wanted to create a form that would post directly into MT. I soon discovered that I would need to use the XML-RPC API to really streamline it. This is a tutorial that will guide you through setting up a form that will allow a user to manipulate entry fields and then rebuild the entry. Use of the mySQL database is required.

You will need to create a new index template called Incutio XML-RPC Library, set the output file as IXR_Library.inc.php and copy this file for the template body.

Next create a new index template called IP Tracking with an output file iptracking.php and copy this file into the template body.

This is a very neat script written by...

continue reading ...

50. Troubleshooting Smarty Errors

Movalog, Tutorials, 32 KB, 1577 words

Tutorial cross posted on Movalog and Learning Movable Type

If you move from static publishing to dynamic publishing in Movable Type, you may encounter a variety of confusing error messages in Smarty, the system MT uses to create its dynamic pages. This tutorial will explore several of the errors you may experience, explain what they mean, and show you how to solve them. This is by no means a complete guide to every error you may experience; I will continue to add to this tutorial as I come by more of them.

The Basics

Many of the error messages you may see will take the format: Smarty Error: [in mt:## line:##]

This error message provides useful information that can help you...

continue reading ...

51. The New Themes - Making Sense of it all

Movalog, Tutorials, 33 KB, 1540 words

Tutorial cross posted on Learning Movable Type and Movalog.

With Movable Type 3.2, Six Apart launched a new markup and stylesheet structure that has also unified their three platforms. These new templates and stylesheets (from now on referred to as themes) have been called tag soup due to the sheer number of <div>s and indents.

What a mess - why did they do it?

The new themes can be quite intimidating the first time you come across them however Six Apart have created these new themes for several reasons: • First of all, Typepad, LiveJournal and Movable Type now share exactly the same markup. This means that a theme will work on any of these three platforms and designers can...

continue reading ...

52. The DB and Dynamic Publishing

Movalog, Tutorials, 34 KB, 1558 words

Seeing as how Elise is having fun with PHP and databases I though I'd show you how to easily play around with the database in dynamic publishing. This is all stuff I've picked up when talking to Brad Choate, the man behind the amazing dynamic system.

Movable Type 3.1+ comes with a dynamic publishing system that has EZSQL rolled in for all the SQL databases MT supports and as a result interaction with and manipulating of the DB becomes a piece of cake. At the moment, however, this system works only for MySQL databases.

First of all to call the DB, you just need three simple lines:

<?php include('<$MTCGIServerPath$>/php/mt.php'); $mt = new MT(<$MTBlogID$>, '<$MTCGIServerPath$>/mt.cfg...

continue reading ...

53. Dynamic Publishing - Pros and Cons

Movalog, Tutorials, 33 KB, 1633 words

Discussion cross posted on Movalog and Learning Movable Type

One of the key features that Six Apart promotes about Movable Type is MT's ability to publish dynamically. What is dynamic publishing? And what are the benefits (and downsides) to dynamic publishing over static publishing?

Elise Bauer, editor of Learning Movable Type and Arvind Satyanarayan, author of Movalog, discuss some of the pros and cons of dynamic publishing. Non-techie luddite-wannabe Elise shies away from anything that seems like it might not be worth the effort and so far hasn't even tried dynamic publishing. Plugin creator and MT hack-master Arvind has embraced dynamic publishing with his usual boundless...

continue reading ...

54. Scheduled Postings and Cron Jobs

Movalog, Tutorials, 33 KB, 1698 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

Future posting is a convenient new feature in MT3.1x, allowing you to create an entry and have it automatically post at a future time. But before you can use this feature you need to set up a Cron Job on your server.

What is a Cron Job?

Cron is a task scheduler for unix servers. A cron job is a specific task that runs a certain number of times per minute, day, week, or month on your server. For example, you can use a cron job to automate a daily MySQL database backup. The main problem with cron jobs is that if they aren't properly configured they can cause high server loads...

continue reading ...

55. Securing your weblog - CGIWrap and SuEXEC

Movalog, News, 35 KB, 1825 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

The installation instructions in the Movable Type Install Guide contain a section in the Configuration area called Enable Security Features. These instructions tell you to uncomment the Umask lines in your mt.cfg if your server is running cgiwrap or suexec. If you don't know what CGIwrap or suEXEC are, you may be tempted to skip this step. Don't. This step gives your MT installation extra security, which we will explain. (Note that this tutorial is only appropriate for MT installations on Linux/Apache web servers.)

What is CGIWrap or suEXEC?

CGIWrap and suEXEC are features...

continue reading ...

56. Quicktags with 3.12

Movalog, Tutorials, 37 KB, 1971 words

UPDATE: Make your own

With Movable Type 3.12, Six Apart built in a more powerful set of quicktags and on the whole they worked pretty well and looked quite nice too. I didn't really want to go back to the clunky Quicktags of before. So here are a few hacks to port some of the most useful features (in my opinion) from the old quicktags, to the new. You will need the following files • edit_entry.tmpl, this is found in MTDIR/tmpl/cms • mt.js, this is found in your StaticWebPath (or if you have none in your root MTDIR folder)

I have decided to port over four functions, Spell Check, Encoding HTML and Insert Image

Spell Check

Add the following to the end of your mt.js file

function Spell(myField)...

continue reading ...

57. Password Protect Entries

Movalog, Tutorials, 36 KB, 1821 words

This hack is deprecated in favour of the MT Protect plugin. Please use the plugin instead of this hack!

One of the biggest wants with MT is to password protect individual entries. There are several hacks and bits of code that allow you to password protect entries but many of them are long winded and many involve separate categories. I wanted a simple way to selectively password protect entries no matter what the category, what blog etc.

So I created a new field on the entry screen (click screenshot for a larger view) that would contain the password. For this to work you will need to be using MT 3.1x, mySQL and PHP. To see this in action see the front page on my blog, enter the password "password" and you will be granted access for 10 days....

continue reading ...

58. 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 ...

59. Dynamic Pages & The .htaccess

Movalog, Tutorials, 37 KB, 2028 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

With the release of Movable Type 3.1 comes a new and powerful feature - Dynamic Publishing. To take advantage of Dynamic Publishing, you need to edit or create a file on your Apache server called .htaccess as explained in the Movable Type Manual. htaccess files can give you extra control over your server, allowing you to password protect directories, enable server side includes, generate custom error messages, and block users by IP address among other things. (See this Guide to .htaccess for more information.)

Note: You should really know what you are doing before...

continue reading ...

60. Upgrading Movable Type

Six Apart User Manual, Manuals, 40 KB, 3199 words

Upgrading Movable Type

Problem

You want to upgrade the Movable Type software.

Solution

Upgrading follows nearly the same steps as installation except that you will want to perform a backup of your system before attempting the upgrade. If you are upgrading from Movable Type 3.1x or before, you will also want to migrate to the new configuration file: mt-config.cgi.

Discussion

If you're on any past version of Movable Type, version 3.2 offers a lot of features and improvements that will make managing your blogs easier. To take advantage of them, you'll need to install the latest...

continue reading ...

Comments

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