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
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-03