mangoweb / mangopress-templating
Prepared templating workflow with filters and macros.
Installs: 11 986
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 2
Open Issues: 2
Requires
- php: >=7.0
- latte/latte: >=2.4
- nette/http: >=2.4
- nette/utils: >=2.4
This package is not auto-updated.
Last update: 2024-11-08 11:38:51 UTC
README
Prepared templating workflow with filters and macros.
MangoPressTemplating::init();
More about available filters in https://github.com/manGoweb/MangoPress/wiki/Template-filters
Using flash messages
In PHP:
$param = flashSuccess('Something just went great!'); wp_redirect(add_query_arg(FLASH_KEY, $param));
and then in latte much like in regular Nette templates.