svenjuergens/content-wrapper 问题修复 & 功能扩展

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

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

svenjuergens/content-wrapper

最新稳定版本:3.0.0

Composer 安装命令:

composer require svenjuergens/content-wrapper

包简介

Own Css Classes for every content element

README 文档

README

Own Css Classes for every content element

Installation

Simply install the extension with Extension Manager or Composer composer req svenjuergens/content-wrapper

Configuration

After Installation each Content Element has new BackendFields in the tab "Appearance".

newFieldsInBackend.png

on the left a free input field and on the right a select field for predefined classes.

The extension comes with a few pre-built Bootstrap4 helper class groups, the groups can be added individually in the page's TSConfig.

TSConfigForPredefinedBootstrapClasses

Integration in HTML Templates

The most important part is the output of the classes. For this, the template files used must be adapted. If you use the Bootstrap package, it would probably be the my_sitepackage/Resources/Private/Layouts/ContentElements/Default.html

With the CSS classes that can be entered via the free input field, you can directly output the database field. classesFromInputField.png

For the classes from the select field, the commas must be removed beforehand. This is done with the help of the TypoScript snippet lib.extContentWrapperReplaceComma, which is automatically integrated via ext_localconf.php. Afterwards, the classes can also be integrated here individually classesFromSelectField.png.png

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固