PHP

  • List Random Authors » As communities grow, so does the need to showcase your authors. Having a hefty community of authors is a great thing (content producers FTW!) but everyone wants their fifteen minutes. This handy little tip can help make sure everyone gets their fair share of the limelight. A couple of things...
  • Tag Cloud on PHP in Movable Type 4 » Movable Type has become one of the first platforms in which tags have appeared . It happened in the third version. And in the fourth version it is possible to add tags not only to post, but also to uploaded files or created pages. But functionality of the tag MTTags...
  • Rotating Banner Ads in MT Using PHP » (This article is cross posted at MovableTweak.) A client recently asked me if they could have an easy-to-manage banner ad setup, with the ability to add advertisements and specify links and alternate text, while at the same time being able to manage them easily. Sounds like a job for… Movable...
  • PHP and MySQL for Dynamic Web Sites - Book Review » Some of the more interesting customizations you can do with your Movable Type weblog require using PHP scripts, either on their own or in conjunction with the MySQL database. Some scripts are easy enough to install and require very little configuration. Others, however, require that you know something about...
  • Random Entries Using PHP » There are two methods to create a random entry, pulled from your weblog database (if you aren't using dynamic publishing). The easiest is David Raynes' MTRandomEntries plugin. However, MTRandomEntries generates a random entry only when you rebuild the page on which the MTRandomEntry code is located. If you want a...
  • Querying a MySQL database with PHP - Random Quotes » If you are using a MySQL database and your blog is PHP enabled (see Converting to PHP), you can use PHP scripts to pull blog data from your database to add customizations to your blog. For example, say you would like to have on your sidebar a quote, randomly pulled...
  • Converting to PHP » This tutorial is written by LMT contributor Sarah Hughes of Sassy (aka Maddy in the MT Forums). Many customizations for Movable Type call for using PHP scripts that require that your pages have a .php extension rather than a .html or .htm extension. PHP is a server-side scripting language which...
  • Using PHP and MT Includes » Updated March 1, 2007. Using includes, you can modularize your template code making it easier to edit and rebuild your Movable Type templates. For example, instead of having all of your side bar and center content on the same Index template, you can set up a separate file to hold...
  • HTML or PHP? » This article is out of date and doesn't touch on MT's dynamic publishing features. ~Elise February 22, 2007 When you are first setting up a new weblog, Movable Type prompts you to choose a file extension in the weblog config preferences section. The default setting is HTML. If your server...