supseven/empty_colpos_content 问题修复 & 功能扩展

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

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

supseven/empty_colpos_content

Composer 安装命令:

composer require supseven/empty_colpos_content

包简介

XClass for for hooking into empty colpos Layouts

README 文档

README

Whats that?

If You have BackendLayouts with a Column without any Colpos, and You want to display information in that Column, simply add the newly added Hook.

Example ext_localconf.php

 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['drawColPos'][1542873608]
 	= \YourNameSpace\YourExtension\Hooks\Backend\PageLayoutView::class .'->render';

Use the shipped Hook as an Example and change it for Your needs.

If no own Hook is used, with installation of this Extension, an Example Hook is implemented.

Use Extension Configuration to make this visible to all or just admin Users.

Example BackendLayout Config

mod {
	web_layout {
		BackendLayouts {
			Default {
				title = Home
				config {
					backend_layout {
						colCount = 1
						rowCount = 3
						rows {
							1 {
								columns {
									1 {
										name = Main
										colPos = 0
									}
								}
							}
							2 {
								columns {
									1 {
										name = Something
										emptyColPos = 0
									}
								}
							}
							3 {
								columns {
									1 {
										name = Something Else
										emptyColPos = 1
									}
								}
							}
                        }
					}
				}
			}
		}
	}
}

KTHXBYE! Volker.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2018-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固