Statamic Blueprints and Fieldsets Setup

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1 servicesAll 2065 services
Statamic Blueprints and Fieldsets Setup
Simple
from 1 business day to 3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Statamic Blueprints and Fieldsets Setup

Blueprints are field schemas for Collections, Globals, Taxonomies, Users. Fieldsets are reusable field groups imported into Blueprints.

Blueprint

# resources/blueprints/collections/blog/post.yaml
title: Post
sections:
  main:
    display: Main
    fields:
      - handle: title
        field:
          type: text
          required: true
          display: Title
          instructions: Used as H1 and og:title

      - handle: content
        field:
          type: bard
          display: Content
          sets:
            article_sets:
              display: Article
              sets:
                pull_quote:
                  display: Pull Quote
                  fields:
                    - handle: quote
                      field: { type: text }
                    - handle: attribution
                      field: { type: text }
                code_block:
                  display: Code Block
                  fields:
                    - handle: language
                      field:
                        type: select
                        options: [php, javascript, python, bash, yaml, json]
                    - handle: code
                      field: { type: code }

      - handle: featured_image
        field:
          type: assets
          container: assets
          max_files: 1
          display: Featured Image
          validate: [image]

  sidebar:
    display: Sidebar
    fields:
      - handle: categories
        field:
          type: terms
          taxonomies: [categories]
          max_items: 3

      - handle: author
        field:
          type: users
          max_items: 1

      - import: seo
        prefix: seo_

Fieldset — Reusable Fields

# resources/fieldsets/seo.yaml
title: SEO
fields:
  - handle: title
    field:
      type: text
      display: SEO Title
      instructions: If empty — uses main title
      character_limit: 70

  - handle: description
    field:
      type: textarea
      display: Meta Description
      character_limit: 160

  - handle: og_image
    field:
      type: assets
      container: assets
      max_files: 1
      display: OG Image
      instructions: 1200×630px, used in social networks
      validate: [image]

  - handle: canonical_url
    field:
      type: text
      display: Canonical URL
      instructions: Leave empty for automatic canonical

  - handle: noindex
    field:
      type: toggle
      display: Hide from Search Engines
      default: false

Importing Fieldset into Blueprint:

# In Blueprint section
- import: seo        # fields without prefix
- import: seo        # with prefix
  prefix: seo_

Statamic Field Types

Type Description
text String
textarea Multi-line text
bard Rich text (ProseMirror) with custom sets
markdown Markdown editor
code Code field with syntax highlighting
assets Files/images
entries Links to other collections' entries
terms Links to taxonomies
users Links to users
date Date/time
time Time
toggle Toggle switch
select / radio / checkboxes Selection options
color Color
range Range
table Editable table
replicator Repeating field sets
grid Repeating rows
link Internal/external links
video Video URL (YouTube/Vimeo embed)
yaml Arbitrary YAML

Setting up Blueprints for 5–8 collections with reusable Fieldsets — 1–2 days.