We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a4f276 + 85253d9 commit d54014aCopy full SHA for d54014a
1 file changed
TemplateEngineFactory.module.php
@@ -78,7 +78,7 @@ public function ready()
78
return;
79
}
80
$this->wire($this->get('api_var'), $engine);
81
- $this->addHookAfter('Page::render', $this, 'hookRender');
+ $this->addHookAfter('Page::render', $this, 'hookRender', array('priority'=>'100.01'));
82
// If the engine supports caching, attach hooks to clear the cache when saving/deleting pages
83
if (in_array('TemplateEngineCache', class_implements($engine))) {
84
$this->wire('pages')->addHookAfter('save', $this, 'hookClearCache');
0 commit comments