Not a developer? Go to MovableType.com

Documentation

Creating a New Custom Field

Custom Fields are typically defined on a blog-by-blog basis. Meaning, that you can create multiple blogs, each with their own unique and distinct data models.

To begin, select the blog you wish to add the custom field to from the blog selector in the main Movable Type navigation.

Then, from the “Preferences” menu select “Custom Fields.” You will then be presented with a table containing all of the custom fields defined within that blog. To create a new field, click the “New Field” link above the table.

You will then be able to fill out a simple form to define your field.

System-wide Custom Fields

Custom fields can also be created at a system level, meaning that if an administrator wishes to add a custom field to every entry for every blog in the entire system, they can do so.

To create a global custom field, follow the instructions for creating a blog-specific custom field, but start from the System Dashboard.

Defining a Pull-down Menu, Radio Buttons and Checkboxes

Some of the fields you may wish to define need to be restricted in some way to a specific set of values. This is required for specific input types like radio buttons, check boxes, and pull-down menus. The mechanism for managing the list of allowed values is the same no matter what type of input is being defined.

To create a pull down menu containing a list of colors for example, create a new field and give it a name of “Favorite Color.” In the “Options” field define the list of acceptable values using a comma to delimit each value. For example:

Blue, Green, Yellow, Red, Indigo, Purple, Black, White, Other

Changing the list of allowed values

You can at any time change the list of allowed values associated with a custom field. Doing so will not disturb the current values of existing objects that utilize that field.

pull-down-options.png

Back

5 Comments

GeishaMX on July 22, 2009, 1:44 p.m. Reply

I have a custom field for one blog (ie. entrydatamood) and now I want to use the same field on another blog.

I cannot create the field, exactly as is (ie. entrydatamood), in the new blog because it already exists, and have to rename it (ie. entrydatamoodblog2)

I cannot designate the field as system wide because it is already associated with a blog.

Am I missing something? Is there someplace to enable fields in individual blogs, if they exist elsewhere on the system?

Beau Smith

Beau Smith on December 16, 2009, 1:55 p.m. Reply

The ability to define a custom field with the same basename in multiple blogs was added when Motion was released with MT4.25

matt on June 4, 2010, 5:52 a.m. Reply

This appears to refer to Movable Type 4. Are custom fields supported in MT 5?

matt on August 25, 2010, 4:12 p.m. Reply

To answer my own question, yes, Custom Fields are supported in MT5 — but only in the Pro version, which is not available on the main download page. To get it, you have to go to a hidden download page here: http://www.movabletype.com/download/blogger-license.html

Mohsen on December 23, 2013, 8:03 p.m. Reply

I have just downloaded and installed MT4.37 OpenSource version. I am trying to design a template for it. so I tried to create Custom Fields and create some…but there isn’t anything named ‘Custom Fields’ under ‘Preferences’ what’s the problem?