mangoweb/mangopress-templating

Prepared templating workflow with filters and macros.

dev-master 2020-02-06 11:54 UTC

This package is not auto-updated.

Last update: 2024-11-22 11:48:54 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.