kitzberger/doktype-typolink 问题修复 & 功能扩展

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

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

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
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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2021-08-15