topshelfcraft/conditions

Craft CMS field types for editing and storing Condition Rules

Installs: 1 195

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 4

Type:craft-plugin

4.0.0-beta.2 2023-06-02 23:11 UTC

This package is auto-updated.

Last update: 2024-11-03 02:11:09 UTC


README

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: