Not a developer? Go to MovableType.com

Documentation

DefaultEntryPrefs

This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

This configuration directive specifies the initial values for the blog’s entry screen display options setting at the time of creation. The options for this directive are as follows:

button: The position of the action bar relative to the listing table.

Values:

  • Below - Below the listing table (Default value).
  • Above - Above the listing table.
  • Both - Both above and below the listing table.

type: The type of entry screen to display

Values:

  • Basic - Title, status, date and body (Default value).
  • All - All possible fields.
  • Custom - A custom combination of fields.

In addition, if the type is set to Custom[1], the following keys are also configurable and take values of 1 or 0 (the default):

  • Category
  • Excerpt
  • Keywords
  • Tags
  • Publishing
  • Feedback

In each case the setting controls whether the corresponding field on the entry editing screen is displayed or suppressed.

[1] - If type is not Custom, the settings are simply ignored.

DefaultEntryPrefs Example

The following specifies a blog default setting for displaying all fields:

DefaultEntryPrefs type=All

The following sets the Basic setting as the blog’s default. The second option is ignored.

DefaultEntryPrefs type=Basic

DefaultEntryPrefs Feedback=1

The following sets the default for new blogs to display the Excerpt and Keywords fields in addition to the ones already provided by the Basic setting (Title, status, date and body):

DefaultEntryPrefs type=Custom

DefaultEntryPrefs Excerpt=1

DefaultEntryPrefs Keywords=1

Specifying only the following (with no additional fields) would set the default for new weblog to “Custom” but without any additional fields checked:

DefaultEntryPrefs type=Custom

Note: Custom with no extra fields checked is equivalent to Basic on the entry editing screen.

Back