Retired Documentation: You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.
Custom Weblog Fields - Add/Edit
This page lets you create or edit fields, which can be one of five types, described below.
Field Name
This is the internal or "short name" for the field. This is a required field and must be a single word with no spaces or punctuation. The field name must be unique within the system, which means that you cannot have two field groups each containing a field with the field name of "body". The short name is typically used as the variable name in your Weblog Entries Tag
NOTE: Some words are reserved and cannot be used. Please see the list of reserved words for details.
Field Label
This is the descriptive name for the field. This is a required field and it may contain spaces or punctuation. Unlike the Field Name, the label does not need to be unique within the system, so you can use the same descriptive label on multiple fields in different field groups. The label is what will be displayed next to the field on the entry form in your PUBLISH page.
Field Instructions
These are instructions for authors on how or what to enter into the field when submitting an entry. The instructions will appear below the Field Label in your PUBLISH page.
Field Type
You may choose what type of field this is. There are five choices:
- Text Input: This is a single input line for text. It is the type of field you might use for a title, name, or other short information.
- Textarea: This is a standard text entry box with multiple lines. This is what you would use for a main entry body.
- Drop-down List: This creates a standard HTML <select> drop-down list. You can define the contents of the list manually or pre-populate it from another custom field.
- Date: Date field types are designed to store dates. Next to the date field in your PUBLISH page you'll see a calendar and two options for your date:
- Localized: The date will be localized to the timezone of each user browsing your site.
- Fixed: The date will NOT be localized and instead shown at the exact date/time you submit.
- Relationship: This is a special and very powerful field type. It enables you to create relationships between two or more weblogs so you can show content from one entry within another. For more information please visit the Relationships page.
Default Text Formatting
This option determines the default formatting selection for this field. (The formatting option can be changed on a per-entry basis when creating new entries if needed.) This preference will only set the default value for entries created from that point forward. There are three default choices:
- None: No automatic formatting is done; the text is left as-is. This might be useful if you want people to be able to use full HTML in this field.
- XHTML: The field content will be formatted with ExpressionEngine's Auto XHTML feature.
- Auto <br />: All line breaks in the field content will be converted into <br /> tags.
The
If you select the checkbox when you set up the field, then the new formatting choice will also be applied to this field for all existing entries.
Is this a required field?
You may determine whether this field is required. If the field is required and the user leaves it blank, upon submission they will receive an error message prompting them to correct it.
Text Direction
Many foreign languages have text that is written from right to left instead of left to right, like in English. This preference allows one to change the direction that text can be written in the Textarea and Text Input custom field types.
Is field searchable?
This determines whether the contents of this field will be included in searches if someone elects to search within the entry content. If you do not select this field then searches will ignore content stored in this field.
Hide this field by default?
Here you determine whether or not the field will be shown or hidden on the publish page by default. If you choose "Yes", the field will be collapsed by default and in order to enter content into the field you will first have to open using the link provided on the publish page.
Field Display Order
You can determine the order in which the fields appear on your weblog entry screen.