heimrichhannot/contao-inserttag_download
最新稳定版本:1.0.2
Composer 安装命令:
composer require heimrichhannot/contao-inserttag_download
包简介
Contao download inserttag, to provide downloadable files inside paragraphs, etc.
README 文档
README
Contao download inserttag, to provide downloadable files inside paragraphs, etc.
This repository is not maintained anymore. For Contao 4 users, please use our Inserttags Collection Bundle instead.
Usage & Examples
''' {{download::b93b1802-ae7a-11e3-9888-6c626d57edad::My Portfolio::CSS-Class::CSS-ID}} - return den download element with linktext set to "my portfolio" and a given css classname and id {{download_link::b93b1802-ae7a-11e3-9888-6c626d57edad}} - return the download link {{download_size::b93b1802-ae7a-11e3-9888-6c626d57edad}} - return the download filesize '''
Contao 4.x install
Install via composer, add requirement and run composer update.
composer.json
"require": {
....
"heimrichhannot/contao-inserttag_download": "~1.0"
}
Register module in app/AppKernel.php.
$bundles = [
...
new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle(('inserttag_download'), $this->getRootDir()),
...
]
Clear caches app/cache.
统计信息
- 总下载量: 5.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2014-12-03