viget/craft-dimensions
Composer 安装命令:
composer require viget/craft-dimensions
包简介
Replicate the Craft Commerce Dimensions fields as a standalone field type.
README 文档
README
Dimensions plugin for Craft CMS
Replicate the Craft Commerce Dimensions fields as a standalone field type.
Requirements
This plugin requires Craft CMS 3.0.0-RC1 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 viget/craft-dimensions -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Dimensions.
Usage
If you have a field named dimensions you can access the following attributes (depending on the field settings):
dimensions.width dimensions.height dimensions.depth dimensions.width
统计信息
- 总下载量: 899
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-03

