All fields share the following settings regardless of type:
- Display – The field's label shown throughout the Control Panel
- Handle – The field's variable name used in templates
- Instructions – Help text shown to your authors
- Listable – Whether to show the field as a column in the control panel's entry list
- Localizable – Whether the field can be translated in other sites
Blueprints & Fieldsets
Blueprints determine what fields are shown in your publish forms. You can configure the fields order, each field's width, and group them into sections and tabs.
Blueprints are attached to collections, taxonomies, global sets, assets, users, and even forms, all which help to determine their content schema.
The visual UI and storage format for any given field is determined by its fieldtype. There are 40+ included fieldtypes to help you design intuitive content management experiences for your authors.
Each field type has its own data storage format. Text and Markdown fields store strings (simple text), lists and YAML fields store arrays, Bard stores ProseMirror document objects, and so on.
Each fieldtype has the ability to augment this data when accessed from the frontend of your site, transforming it into whatever format is easiest to work with. In Statamic v2 this would need to be done manually with modifiers. For example:
- Asset fields will return Asset objects with access to meta data and any additional fields
- Bard fields will transform ProseMirror document objects into an array of structured data and HTML.
- Markdown fields will automatically parse content and return HTML.
- Relationship fields will return the content objects of the entries they refer to.
Augmentation is only performed when a field is defined in a blueprint. Data created "on the fly" in Front Matter may still require modifiers to transform it according to your whims and fancies.
Fields can be localized, allowing you to translate or modify content in a multi-site project.
For example, you could build the website for a multi-national company with headquarters in the United States and branches in the UK, and Germany.
🇺🇸 The "base" site the US/English version, and all content is created with that location and audience in mind.
🇬🇧 In the UK version you only need to localize a few fields, replacing "color" and "favorite" with "colour" and "favourite", and swapping out company phone numbers and addresses.
🇩🇪 In the German version of the site, however, all written content would need to be translated.
To accomplish this you can configure your Statamic install as a multi-site instance, enable localization on all appropriate fields, and switch between sites with the site switcher dropdown in the global nav, or the locale list in the sidebar of your publish forms.
Learn more about configuring Statamic for multi-site projects.