newism/craft3-publish-layout-helper

dev-master 2018-03-01 06:47 UTC

This package is auto-updated.

Last update: 2024-03-29 01:28:04 UTC


README

Attention: This plugin is super experimental. Don't use it in production

NSM Publish Layout Helper for CraftCMS 3.x

Demo

The purpose of this plugin is to indent matrix blocks in order for them to appear as a tree.

Newism uses two layout blocks when creating art directed landing pages. They are:

  • Page Section pageSection: The purpose of this block is to encapsulate it's "children" with a background colour, image etc.
  • Grid Section gridSection: The purpose of this block is to layout it's "children" according to the grid settings of the block.

Given this plugin does not actually nest the matrix blocks some modifications to the twig template need to be implemented. Here's a simple example:

Coming Soon

Credits

Brought to you by Newism

687474703a2f2f6e657769736d2e636f6d2e61752f75706c6f6164732f636f6e74656e742f6e657769736d2d6c6f676f2e706e67