superbig/craft-entry-instructions
最新稳定版本:1.0.7
Composer 安装命令:
composer require superbig/craft-entry-instructions
包简介
A simple fieldtype to add instructions
README 文档
README
A simple fieldtype to add instructions.
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require superbig/craft-entry-instructions -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Entry Instructions.
Using Entry Instructions
Create a new Entry Instructions field with instructions, and add it to a field layout.
You may add custom per-field CSS in the field settings; any CSS you add will be automatically scoped to the correct field.
Instructions will be parsed with Markdown.
Overriding Global CSS
You can override the global CSS by creating a file in your config/ directory called entry-instructions.php and structuring it appropriately.
A sample can be found here (entry-instructions.php.sample) with the current defaults; copy it and modify or delete as you wish.
Credits
This fieldtype is a port of Entry Instructions by Tom Cunningham.
Icon by Ho Thi Ngoc Trinh from the Noun Project.
Brought to you by Superbig
统计信息
- 总下载量: 103.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-19
