1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 01:34:31 +02:00

Add support for markup regions, a simple new template file output strategy that bridges the gap between direct and delayed output. See comments in the PageRender.module file for more details.

This commit is contained in:
Ryan Cramer
2017-01-12 15:45:07 -05:00
parent 6bfe4e65e2
commit 12a45994bf
4 changed files with 1118 additions and 0 deletions

View File

@@ -130,6 +130,18 @@ $config->demo = false;
*/
$config->useFunctionsAPI = false;
/**
* Enable use of front-end markup regions?
*
* When enabled, HTML elements with an "id" attribute that are output before the opening
* `<!doctype>` or `<html>` tag can replace elements in the document that have the same id.
* Also supports append, prepend, replace, remove, before and after options.
*
* @var bool
*
*/
$config->useMarkupRegions = false;
/*** 2. DATES & TIMES *************************************************************************/