heimrichhannot/contao-inserttagcollection-bundle
最新稳定版本:1.2.0
Composer 安装命令:
composer require heimrichhannot/contao-inserttagcollection-bundle
包简介
A collection of additional inserttags for contao cms.
README 文档
README
This bundle provides some additional inserttags for contao CMS.
The download inserttag template is already prepared for AMP Bundle.
Inserttags
Functionality
| Inserttag | Example | Description |
|---|---|---|
| strtotime | {{strtotime::midnight}} |
Returns supported return values of strtotime() (see php docs). Also possible: {{strtotime::+ 1 day::<timestamp>::<date/time format>}} |
| link_url_abs | {{link_url_abs::92}} |
Get the absolute url of an page. |
| email_label | {{email_label::info@example.org::E-Mail}} |
Generate an e-mail link with custom label. Custom classes and id are also possible: ({{email_label::info@example.org::E-Mail::btn btn-default::my_custom_email_link}}) |
| download | {{download::9263228b-9577-11e8-abd4-a08cfddc0261}} |
Generate an download link to the file with file name as label and download size. File parameter can be file uuid or file path. Optional parameter for custom label, link css class and link css id. |
| download_link | {{download_link::9263228b-9577-11e8-abd4-a08cfddc0261}} |
Get the download url. File parameter can be file uuid or file path. |
| download_size | {{download_size::9263228b-9577-11e8-abd4-a08cfddc0261}} |
Get the formatted download size. File parameter can be file uuid or file path. |
Html-tags
| Inserttag | Example | Description |
|---|---|---|
| small | {{small}} |
Start small text (Outputs <small>) |
| endsmall | {{endsmall}} |
Stops small text (Outputs </small>) |
| span | {{span::class=product highlight&id=product5&title=Super Product}} |
Start span element text (Example outputs <span class="product highlight" id="product5" title="Super Product">) |
| endspan | {{endspan}} |
Stops small text (Outputs </span>) |
Technical introduction
Install
composer require heimrichhannot/contao-inserttagcollection-bundle
Upgrade from module
This bundle replaces following modules:
heimrichhannot/contao-inserttags_absoluteheimrichhannot/contao-inserttag_emailheimrichhannot/contao-inserttag_download
See upgrade notices for more information.
统计信息
- 总下载量: 2.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2018-08-01