guave/flexiblecontent-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

guave/flexiblecontent-bundle

最新稳定版本:2.4.1

Composer 安装命令:

composer require guave/flexiblecontent-bundle

包简介

Flexible Content Element for Contao 4.13+

README 文档

README

This contao module adds a Content Element that allows you to choose from different content layouts.

Requirements

  • Contao 4.13+
  • PHP 7.4 or 8.0+

Install

$ composer require guave/flexiblecontent-bundle

Usage

To change which fields are shown or add a new one, add the template name without ce_ into your config.php:

$GLOBALS['TL_FLEXIBLE_CONTENT']['templates'] = [
    '2col-text',
];

then add a new subpalette for your template in your tl_content.php, only with the fields you would like to add as your content:

$GLOBALS['TL_DCA']['tl_content']['subpalettes']['flexibleTemplate_2col-text'] = 'flexibleTitle,flexibleText,flexibleTextColumn';

using the name of your template from $GLOBALS['TL_FLEXIBLE_CONTENT']['templates'] in the subpalette's flexibleTemplate_<template-name> key

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: ISC
  • 更新时间: 2022-02-22