Skip to content

A fieldtype for editing and storing Condition Rules.

License

Notifications You must be signed in to change notification settings

TopShelfCraft/Conditions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

A fieldtype for editing and storing Condition Rules.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages