kitzberger/doktype-typolink
最新稳定版本:3.0.1
Composer 安装命令:
composer require kitzberger/doktype-typolink
包简介
Enhance doktype 3 ("Link to External URL") to support typolinks
关键字:
README 文档
README
Enhances doktype 3 ("Link to External URL") to support typolinks. So there's no need for hard coded absolute URLs in menus anymore.
It's a tiny change in TCA but enables to BE users to use the power of the typolink link browser.
| Before | After |
|---|---|
![]() |
![]() |
Resolving the typolink
Frontend rendering
Since 7.6 when rendering typolinks (and menus) during the FE rendering process the URLs of pages of doktype 3 are being automatically replaced by their (external) URL target.
This core mechanism also resolves any typolink that might by used as url property.
Accessing the page URL
When accessing the page's URL directly (e.g. via save+show button in BE) the 303 redirect is still in place though.
To resolve any typolink within the url property in this case there's an experimental middleware that can be activated in the extension settings.
统计信息
- 总下载量: 8.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-08-15

