codemonauts/craft-readonly-field

Craft CMS plugin to add a simple, read-only plaintext field.

1.0.0 2019-04-06 09:31 UTC

README

Icon

A very simple read-only field type.

Background

Sometimes you add content to Craft entries (for example via an API) that should be readable but not changeable for the user in the control panel.

Requirements

  • Craft CMS >= 3.0.0

Installation

Open your terminal and go to your Craft project:

cd /path/to/project
composer require codemonauts/craft-readonly-field

In the control panel, go to Settings → Plugins and click the “install” button for Read-only Field.

Usage

After installation, the control panel can be used to create fields that behave like plaintext fields, but can only be filled programmatically with content. In the control panel, the content is displayed but cannot be edited.

With ❤ by codemonauts