Movable Type Documentation > Appendices > Appendix: Configuration Directives

DefaultEntryPrefs

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
  • ExtendedEntry
  • Excerpt
  • Keywords
  • Tags
  • TextFormatting
  • AllowComments
  • AllowTrackBacks
  • Date
  • Basename
  • TrackBackURLs

In each case except for Date[2] 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.

[2] - The Date field is always displayed on the entry editing screen, so the setting instead controls whether the date is editable or not.

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

This page was last updated on 1969-12-31, 16:00.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)