承接 jordanbeattie/craftcms-block-styles 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jordanbeattie/craftcms-block-styles

Composer 安装命令:

composer require jordanbeattie/craftcms-block-styles

包简介

Style dropdown for Neo blocks

README 文档

README

Style dropdown for Neo blocks

Requirements

This plugin requires Craft CMS 4.5.0 or later, and PHP 8.0.2 or later.

Installation

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project

# tell Composer to load the plugin
composer require jordanbeattie/craftcms-block-styles

# tell Craft to install the plugin
./craft plugin/install block-styles

Use

Upon install, a block-styles.php file will be created in your project's config directory.

Simply update this file with the example format to provide the dropdown options for your field.

By providing an integer, the dropdown will display an option for each option between 1 and your given integer. (e.g. if you input 3, the dropdown will show "one", "two" and "three" as options). Or you can provide an array of options per block, each with a label and value parameter.

Create a field in Craft settings and select the "Block Style" option and add it to your Neo blocks.

统计信息

  • 总下载量: 60
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: mit
  • 更新时间: 2024-01-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固