承接 guave/visualradio-bundle 相关项目开发

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

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

guave/visualradio-bundle

最新稳定版本:3.0.0

Composer 安装命令:

composer require guave/visualradio-bundle

包简介

Visual Radio Field for Contao 5.0+

README 文档

README

This is a small extension for Contao to display radio buttons with images.

Requirements

  • Contao 5.0+
  • PHP 8.1+

Install

$ composer require guave/visualradio-bundle

Usage

Add the visual radio as a field. Required are the following:

  • the templates as an array for options (without ce_)
  • eval['imagePath'] is a path within your webroot
  • eval['imageExt'] is the file extension of your images
$GLOBALS['TL_DCA']['tl_content']['fields']['visualradio'] = [
    'inputType' => 'visualradio',
    'options' => [
        '2col-text',
        '1col-img'
    ],
    'eval' => [
        'imagePath' => 'files/content-elements/images',
        'imageExt' => '.jpg',
    ],
    'sql' => ['type' => 'string', 'length' => 255, 'default' => ''],
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: ISC
  • 更新时间: 2019-11-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固