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

141. Today Is The Day

MovableTweak, Tutorials, 23 KB, 820 words

So Thursday AM is "The Big Day", the day when we all get to experience Movable Type 3.2, sans beta.

My entries are slow-in-coming for a few days while I launch my brand new design site. The current site is truly ghastly. I'm also currently slogging my way through 12 rounds in the ring with a couple of ornary problems:

Headache#1: .htaccess

First, I'm trying to get my server to process my .html files as .php files so I can use includes for my sidebar. I'm up to my neck in .htaccess, and I've tried adding the simple "AddHandler application/x-httpd-php .html" with no luck. The site keeps returning a happy 500 error any time I try to view a .php file or...

continue reading ...

142. Year Archives in MT

Brad Choate, Tutorials, 81 KB, 3107 words

It's a shame MT doesn't provide year-based archives because some of us have enough entries for them even if Movable Type hasn't been out that long! Here's what my 2001 blogging year looks like. Well, you can create them manually-- and since you only have to do it once a year, it isn't too bad. Click the 'more' link for details...

All you have to do to build a year archive is create an index template...

continue reading ...

143. Creating a Photo Album

Learning Movable Type, Tutorials, 46 KB, 3769 words

Looking for a way to incorporate a Photo Gallery into your MT blog? Check out Photo Gallery Templates from StopDesign.com.

There are many ways to create a web-based photo album or photoblog in Movable Type. This tutorial addresses just one method for creating a photo album, and is based on the steps I took to create my MT-based photo album. This tutorial is for experienced MT users and assumes familiarity with plugins, CSS, creating a new weblog, category archiving, and uploading images. Although long, the tutorial is easier than it looks, especially if you want a photo album that works just like mine. It's always the customizations that take time. In this tutorial I will give...

continue reading ...

144. Combining lastn and days in <MTEntries>

Eat Drink Sleep MT, Tutorials, 17 KB, 373 words

The <MTEntries> container tag has two often-used attributes: lastn and days. The lastn attribute will display the x most recent entries (regardless of whether they all occur on one day or 10 days, for example). The days attribute will display whatever entries occur in the last x days (regardless of whether there are 0 or 18 entries in that timeframe, for example). Each of these options is mutually exclusive, meaning they can't be used together. Or can they? A little PHP does the job!

Why would you want to combine these two attributes? Different display and entry listing options: show the 7 most recent entries, displaying a larger excerpt of any entry in the last 2...

continue reading ...

145. Notice: Undefined index: SchemaVersion

Six Apart Knowledgebase, Manuals, 26 KB, 335 words

Question

When viewing dynamic archive pages, I see an error which says Notice: Undefined index: SchemaVersion in /mt/php/mt.php on line 180.

Answer

"Notice" messages are informational and come from PHP, not from Movable Type.

Check the php.ini file on your server for an "error_reporting" setting. The default value should be: E_ALL & ~E_NOTICE which excludes "notice" messages from being output.

See PHP Manual: Error Handling and Logging Functions for more information.

...

continue reading ...

146. Ajax Archive Drop Downs

Movalog, Tutorials, 31 KB, 856 words

In this thread, Gary highlighted how to have drop downs of archives that basically redirected to the appropriate page once an archive was chosen. With this tutorial, I'll take that one step further and use AJAX such that when you select an archive, rather than redirecting to the corresponding archive page, the appropriate posts will just replace those currently shown. You can see a pretty basic example heremp;

First of all, here's the AJAX code that you'll need to put within your <head></head> tags <script type="text/javascript"> <!-- var xmlhttp=false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }...

continue reading ...

147. Closing old comments

PubHacks, Tutorials, 8 KB, 431 words

Required: MySQL, PHP

If you have PHP enabled and a MySQL database, you can use this closecomments php file.

Keep in mind - this puppy is going to close the comments on your entire database - meaning every single blog that's on that installation using that database.

Step 1: As always, Unzip the shit.

Open the file in a text editor and change the bold printed stuff to your own information (leave the single quotes - just change the stuff inside them):

$database = 'your_database_name'; $dbuser = 'database_user'; $dbpass = 'database_password';

Then change this field:

$closedays = 10;

Right now it says, "I'll close all comments on any entry older than 10 days". You can change that...

continue reading ...

148. Open_basedir Restriction In Effect

Six Apart Knowledgebase, Manuals, 26 KB, 394 words

Question

When viewing dynamic pages, I see the following error: Warning: main(): open_basedir restriction in effect. File(/full/path/to/cgi-bin/movabletype/php/mt.php) is not within the allowed path(s): (/full/path/to/tmp) in /full/path/to/blog/mtview.php on line 2

Answer

This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your Movable Type installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed...

continue reading ...

149. Movalog: Dynamic Archives

Movalog, Tutorials, 23 KB, 750 words

Page: 1 1 Page.

Dynamic Publishing - Pros and Cons

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

Continue reading "Dynamic Publishing - Pros and Cons"

Posted on 05/28/2005 | Permalink | Comments (1)

Troubleshooting Smarty Errors

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

continue reading ...

150. Speed up

Movalog, Tutorials, 27 KB, 836 words

Here are some tips on how to optimize your weblog and make the page load times drop: • Sidebars: Sidebars are everything when you're talkin about page load. I have found that sidebars on the right decrease page load times dramatically. Having the sidebar on the right also allows the content to load first. The content is what your readers have come for and hence they can start reading even before the page has fully loaded. The default MT templates have the sidebars positioned to the right, to change your sidebar location you'll need to change the float element in the css: float:right;

or you may have to move around some of your markup (the template code) • Content: Although content is...

continue reading ...

151. Dynamic Linked List Boxes: Categories and Entries

MovableTweak, Tutorials, 30 KB, 1901 words

Movable Type is being used to store a list of classes, and we need to make those class titles available in a form field (class registration) as a dynamically linked list box. The user will be presented with two list boxes, the first with a list of categories, the second (which is disabled until a category is chosen) with a dynamically generated list of the titles in the selected category.

Ingredients

We're going to need two important things here. First, a handy DHTML script from Xin Yang called Chained Selects that's going to power our linked list boxes. The script that you'll be dropping into your directory is called chainedselects.js.

Second, a javascript file...

continue reading ...

152. Full Featured FCKeditor on Movable Type

alogblog, Plugins, 23 KB, 1763 words

This plugin enables you to use WYSIWYG editor easily and customzably in Movable Type. There are many available open WYSIWYG editors. I've used HTMLArea and FCKeditor. Both are very good, even though they give some loads to your PC. But as time goes by, this load could be trivial.

My alogblogMTinterface plugin uses many alternate templates. Therefore the users who use my alogblogMTinterface might have some troubles in personally adapting other WYSIWYG editors. Of course I also have the same trouble whenever new W~G editors or its MT plugins are released. So I decided to provide W~G in it independently.

One of the powerful features of FCKeditor is the Media...

continue reading ...

153. Advanced Topics Archives

Six Apart User Manual, Manuals, 62 KB, 5230 words

With broad platform integration of all the leading open standards, Movable Type has the potential to do much more, given additional expertise and knowledge on the user's part.

This chapters covers some of the more advanced features in addition to providing a starting point for more advanced topics not covered in this publication.

Architectural Overview

Movable Type is written in a highly modular Perl object-oriented style with an open code base (it's not open source -- an important distinction) that makes the browser-based tool quite flexible and easily modifiable, allowing it to adapt to any number of...

continue reading ...

154. Content from Multiple Blogs with Dynamic Publishing

Movalog, Tutorials, 26 KB, 776 words

Multiblog is an indespensible plugin that allows you to display content from other blogs. Unfortunately, in its current version it doesn't work with dynamic publishing. A few days ago I was investigating the best way to duplicate MultiBlog's functions in the dynamic templating system. As it turns out, Movable Type's powerful dynamic templating system makes it easy to include content from other blogs.

With dynamic publishing all you need to do to pull content from other blogs is to change the blog context of the page. Every tag is parsed within a context which affects the content it outputs. For example, with the MTEntries tag the correct entries are outputted because Movable Type...

continue reading ...

155. Understanding the Category Listing Code

Learning Movable Type, Tutorials, 32 KB, 2089 words

This tutorial is co-authored by LMT guest author Chad Everett of Everitz Consulting and Elise Bauer of elise.com.

Movable Type allows you to create categories and sub-categories for organizing your entries. The default MT3.2 Main Index template includes code to list these categories in the sidebar section. This tutorial will attempt to explain the tags used in this code and how they work together.

Categories, Sub-categories, Parent, Child, and Levels

The only difference between a category and a sub-category is that the latter will always have a "parent" category. The sub-category is still a category, and everything else remains the same as any other category. But by having...

continue reading ...

156. Meta Refresh Redirect Tag

Learning Movable Type, Tutorials, 15 KB, 354 words

Suppose you change the name of a file. But instead of deleting the old file that is on your server (that may have many sites already linked to it) you want to forward anyone who goes to the old file URL to the new one.

One way to do this is to place a Meta Refresh tag in the html header section of the file that you want to forward. The tag looks like this:

<meta http-equiv="refresh" content="3;url=http://www.yourblog.com/archives/name_of_entry.html">

content="3 means that when someone goes to the old file, it will take 3 seconds to be forwarded to the new file. You can change this number to be more or fewer seconds, down to zero. Note that if...

continue reading ...

157. The Perfect 404

A List Apart, Tutorials, 18 KB, 1880 words

Oops. Something went wrong. You're not sure what - was it you? Was it the website? What do you do now?

Welcome to the world of the Error 404 page. You've requested a page - either by typing a URL directly into the address bar or clicking on an out-of-date link and you've found yourself in the middle of cyberspace nowhere. A user-friendly website will give you a helping hand while many others will simply do nothing, relying on the browser's built-in ability to explain what the problem is. We can do better than that, can't we?

I won't go into details about how you set your server up to deliver a custom 404 page - ...

continue reading ...

158. Serving Content

Don't Back Down, Tutorials, 10 KB, 546 words

I came across a post by someone who found something I wrote to be useful. That's cool. I'm glad someone is reading.

One thing that this post reminded me of, that I didn't mention previously, is the MIME type of the document being served. In the case of HTML, the longstanding tradition has been to serve the document as text/html. This is what we've always done, and this is what most people continue to do now.

The problem with this is that text/html is not appropriate for XHTML!

This is it in a nutshell: HTML is okay to serve as text/html. In fact, it should be served as text/html. The confusing part starts when you hit XHTML. XHTML 1.0 may be served as either text/html or the more accurate...

continue reading ...

159. Hacking ShortStat

Eat Drink Sleep MT, Tutorials, 18 KB, 446 words

Earlier this week I installed ShortStat, a great little statistics tool from Shaun Inman. Its results are rather minimalist, but key information gets reported. ShortStat is easily integrated with Movable Type (and just about everything else, too).

I've detailed the changes I made below. If you're already running ShortStat and are feeling brave, you can just grab my modified functions.php and styles.css files. These are for version 0.36b of ShortStat.

Eliminating Horizontal Scrollbars

Every ShortStat installation I've seen has horizontal scrollbars at every location. These drive me nuts. I had to eliminate them.

Line 43 of styles.css is width: 256px;. Change it to...

continue reading ...

160. Supplemental Category Tags

Brad Choate, Plugins, 109 KB, 3662 words

Here's a little plugin that provides some new Category tags for Movable Type.

Availability

You can download this plugin from here: mtcatx-1_5.zip

Requirements

The following are requirements for using this plugin: • Movable Type 2.21 or later • MT-Regex (if using the 'pattern' attribute of the IfCategory or IfPrimaryCategory tag).

Installation

To install, place the 'catx.pl' file in your Movable Type...

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