Skip to content

Instantly share code, notes, and snippets.

@thekenshow
Last active August 24, 2021 12:55
Show Gist options
  • Save thekenshow/e3f6176fea06d99056cdc936a28eabf3 to your computer and use it in GitHub Desktop.
Save thekenshow/e3f6176fea06d99056cdc936a28eabf3 to your computer and use it in GitHub Desktop.
Blueprint excerpt:
```
title: Home
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: PLUGIN_ADMIN.CONTENT
fields:
header.fieldset_1:
type: fieldset
title: Column One
icon: comments
collapsed: false
collapsible: true
fields:
header.column_1_title:
type: text
label: Title
default:
validate:
type: text
header.column_1_image:
name: column_1_image
type: file
label: Column 1 Image
destination: 'user/pages/01.home/column_images'
multiple: false
autofocus: false
accept:
- image/*
header.column_1_content:
type: tinymce
label: Column 1 Content
header.fieldset_2:
type: fieldset
title: Column Two
icon: comments
collapsed: false
collapsible: true
fields:
header.column_2_title:
type: text
label: Title
default:
validate:
type: text
header.column_2_image:
name: column_2_image
type: file
label: Column 2 Image
destination: 'user/pages/01.home/column_images'
multiple: false
autofocus: false
accept:
- image/*
header.column_2_content:
type: tinymce
label: Column 1 Content
```
Page header excerpt:
```
---
title: Home
media_order: 'apple-phone-touching.jpeg,white-pants-sitting.jpg,picnic-waterfront.jpg,cliff-edge-sunrise.jpg,woman-cloud-sunrise.jpg'
upcoming:
column_1_title: 'Online: Week of August 16th'
column_1_content: "<h3>Tuesday, August 17 &ndash; Off the Cushion</h3>\r\n<p><strong>Zoom session begins at 7:00 PM EST. Meditation starts at 7:15, with informal talk and discussion from 7:35 to 8:30.</strong></p>"
column_2_content: "<p style=\"text-align: center;\"><img src=\"https://mcusercontent.com/b9d2b977643a4be7ba0fafdd9/images/d56361cf-f39b-abf3-a1f5-647c96bce950.jpeg\" alt=\"Image by Free-Photos from Pixabay\" width=\"500\" height=\"307\" /></p>"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment