Skip to content

Latest commit

 

History

History
62 lines (33 loc) · 1.38 KB

README.md

File metadata and controls

62 lines (33 loc) · 1.38 KB

Conditions

Craft CMS field types for editing and storing Condition Rules

A Top Shelf Craft creation
Michael Rog, Proprietor


TL;DR.

The Conditions field types enable you to create "Condition Builder" fields, for editing and storing Condition Rules as field data, enabling a wide variety of content curation use cases.

Installation

  1. From your project directory, use Composer to require the plugin package:

    composer require topshelfcraft/conditions
    

    Note: Conditions is also available for installation via the Craft CMS Plugin Store.

  2. In the Control Panel, go to Settings → Plugins and click the “Install” button for Conditions.

  3. There is no Step 3.

Configuration

To customize the plugin's behavior, you can add a conditions.php file to your Craft config directory:

<?php

return [
    'availableFieldTypes' => [
        EntryConditionField::class,
    ];
];

What are the system requirements?

Craft 4.4+ and PHP 8.0+

I found a bug.

Please open a GitHub Issue or submit a PR to the 4.x.dev branch.


Contributors: