heimrichhannot / contao-inserttag_download
Contao download inserttag, to provide downloadable files inside paragraphs, etc.
Installs: 4 777
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ~3.2 || ~4.1
This package is auto-updated.
Last update: 2019-10-08 06:43:31 UTC
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
.