ajaximple / template
This package is abandoned and no longer maintained.
No replacement package was suggested.
Nette TemplateFactory extensions from AJAXimple.
v3.0.0
2020-05-06 15:11 UTC
Requires
- php: >=7.3
- nette/application: ^3.0
This package is auto-updated.
Last update: 2025-01-07 11:00:35 UTC
README
This extension extends Nette\Bridges\ApplicationLatte\TemplateFactory for new filters.
Added filters
loadFile
<link href="{$basePath}{('/css/card.css')|loadFile}" rel="stylesheet">
add modified parameter after file name located in www dir, so after each changes will be this file downloaded by browser.
Instalation
Download
The best way to install AJAXimple/Template
is using Composer:
$ composer require ajaximple/template
Registering
You can enable the extension using your neon config:
services:
latte.templateFactory: AJAXimple\Template\TemplateFactory(wwwDir: %wwwDir%) # wwwDir is path to the dir with yours public files on your harddrive
Conclusion
This extension requires Nette3.0 and it is property of Antonín Jehlář © 2020