angell-co / Pimp-My-Matrix

A plugin for Craft that lets you enhance a busy Matrix field and organise block types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Its back 👻, Craft 3 version re-named -> 🥄Spoon

This repository is now archived, but will remain here for anyone to use indefinitely.


Pimp My Matrix - a plugin for Craft.

Pimp My Matrix provides additional control for displaying blocks and fields within a Matrix field.

Find yourself creating Matrix fields with lots of block types?
Organise long lists of blocks into smaller groups for clearer selection.

grouped block types

Have blocks with lots of fields?
Organise fields into multiple tabs.

example block type field layout

Want one Matrix field to rule them all?
Use one Matrix field and just hide and show blocks or fields based on the context.

The following contexts are currently supported:

  • Entry Types
  • Category Groups
  • Global Sets
  • Users

If you want to add your own context, perhaps for a custom element type, then there are hooks that let you do this - see the hooks documentation for details.

Quickstart

  1. Copy the pimpmymatrix/ folder to your craft/plugins/ folder.
  2. Go to Settings > Plugins from your Craft control panel and install the Pimp My Matrix plugin.
  3. Click the “Pimp My Matrix” tab that will have now appeared as part of the main navigation.
  4. Select a Matrix field and define your groups.
  5. Click the gear icon on any block type to edit its field layout.

For further details of each specific context and advanced usage please see the docs.


Thanks to M. Mikkel Rummelhoff for his Reasons plugin which helped me out in a few places :)

About

A plugin for Craft that lets you enhance a busy Matrix field and organise block types

License:MIT License


Languages

Language:PHP 43.8%Language:JavaScript 42.1%Language:HTML 7.7%Language:CSS 6.3%