Commit 22963036 authored by Frederic Guillot's avatar Frederic Guillot

Change template hook names

parent 396db8de
......@@ -8,8 +8,8 @@ class Plugin extends PluginBase
{
public function initialize()
{
$this->template->hook->attach('layout:head', 'theme:layout/head');
$this->template->hook->attach('layout:top', 'theme:layout/top');
$this->template->setTemplateOverride('header', 'theme:layout/header');
$this->template->hook->attach('template:layout:head', 'theme:layout/head');
$this->template->hook->attach('template:layout:top', 'theme:layout/top');
$this->template->setTemplateOverride('template:header', 'theme:layout/header');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment