Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

How do you split a blueprint horizontally (side by side)

Solved by Pedro M View solution

Started by Dean Bateman 4 years ago · 2 replies · 723 views
4 years ago

How do you split a blueprint horizontally (side by side)?

image|690x244

to put it in another tab is like this, but i cannot find how to split the page, can anyone help?

YAML
extends@: default

form:
  fields:
    tabs:
        fields:
            product:
                type: tab
                title: Product Details
                fields:
                    header.product.options:
                    type: section
                    title: Product Options
                    underline: true
            images:
                type: tab
                title: Product Image Details
                fields:
4 years ago Solution

Hello.
Take a look at the Grav help. You have to use a column-type blueprint, with two columns, and place the content you want in each of them.

You can see an example if you see the default.yaml code in the system/blueprints/pages folder

4 years ago

Thanks appreciate the help,

I had looked for examples in the system folder just didn't know what I was looking for.

But this is perfect. Thanks

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Japhy, 2 weeks ago
2 293 5 days ago
Forms & Blueprints · by FrViPofm, 1 month ago
5 341 4 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2331 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 800 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 879 10 months ago