定制 vonheldenundgestalten/contao-inserttags 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

vonheldenundgestalten/contao-inserttags

最新稳定版本:5.3.5

Composer 安装命令:

composer require vonheldenundgestalten/contao-inserttags

包简介

New, clean insert tag handling, adding some custom logic to existing insert tags in Contao 4.

README 文档

README

New, clean insert tag handling, adding some custom logic to existing insert tags in Contao 4.x

Backend Tag rendering

Activates rendering of insert tags in the backend - especially nice for custom elements, included subtemplates, icons and many more tricks in content element organisation.

We're not touching the HTML element - that usually is modules or other "bigger" includes.

New tags

{{file_vendor::*}}

Includes php, tpl, xhtml or html5 file where path is relative to ./vendor directory. f.e. {{file_vendor::magmell-agentur/contao-boxes/src/Resources/contao/templates/test.html5}}

{{form::*}}

Returns value from $_SESSION['FORM_DATA']

f.e. {{form::firstName}} will return value from:

$_SESSION['FORM_DATA']['firstName'];
{{get::*}}

Return value from url with function:

Input::get($elements[1]);

f.e. {{get::movies}} for URL www.example.com/movies/forrest-gump it will reutrn value forrest-gump
also it works with classical GET formats example www.example.com/list?movies=forrest-gump will return forrest-gump

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-03