b13/doktypemapper
Composer 安装命令:
composer require b13/doktypemapper
包简介
Maps your page.doktype to page.backend_layout
README 文档
README
EXT:doktypemapper - A TYPO3 Extension for mapping doktypes to backend_layouts
Features
By selecting the doktype of a page the value of the field backend_layout is automatically set. There is no need for editors to select a backend_layout. In fact it is recommended to hide the fields backend_layout and backend_layout_next_level from editors.
Find more about how we use this extension at b13, including examples, in this blog post.
Installation
Install this extension via composer req b13/doktypemapper and activate
the extension in the Extension Manager of your TYPO3 installation.
Once installed, add a new configuration doktype to your Backend-Layouts.
Configure your Backend-Layouts
Simply add the new configuration doktype to your Backend-Layout, e.g.
mod.web_layout.BackendLayouts.MyPage.config.backend_layout.doktype = 144
This will automatically set the backend_layout to pagets__MyPage when a page has doktype 144.
Hide fields from editors
It is recommended to hide the fields backend_layout and backend_layout_next_level from page properties (the value is set automatically) using PageTsConfig:
TCEFORM.pages.backend_layout.disabled = 1
TCEFORM.pages.backend_layout_next_level.disabled = 1
Note
This extension comes with a default empty backend_layout configuration (see Configuration/Sets/Doktypemapper/page.tsconfig) for
TYPO3's default "empty" page types (like Shortcut, External Link, etc.) to ensure valid database entries for every page
type (even the ones without any content).
Credits
This extension was created by Achim Fritz in 2021 for b13 GmbH, Stuttgart.
Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.
b13/doktypemapper 适用场景与选型建议
b13/doktypemapper 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 126.77k 次下载、GitHub Stars 达 14, 最近一次更新时间为 2021 年 03 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 b13/doktypemapper 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 b13/doktypemapper 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 126.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-03-11