Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codemonauts/craft-readonly-field
Read-only Field for Craft CMS
https://github.com/codemonauts/craft-readonly-field
cms craft craft-plugin craftcms field plugin read-only
Last synced: about 4 hours ago
JSON representation
Read-only Field for Craft CMS
- Host: GitHub
- URL: https://github.com/codemonauts/craft-readonly-field
- Owner: codemonauts
- License: mit
- Created: 2019-03-13T08:28:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-24T13:30:28.000Z (6 months ago)
- Last Synced: 2024-08-11T08:08:29.707Z (3 months ago)
- Topics: cms, craft, craft-plugin, craftcms, field, plugin, read-only
- Language: PHP
- Homepage:
- Size: 23.4 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Read-only Field for Craft CMS
![Icon](resources/readonly.png)
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 >= 4.0.0
## Installation
Open your terminal and go to your Craft project:
``` shell
cd /path/to/project
composer require codemonauts/craft-readonly-field
./craft plugin/install readonly
```You can also install the plugin via the Plugin Store in the Craft Control Panel.
## 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](https://codemonauts.com)