*/ class FrontHook extends BaseHook { public function onMainFooterBody(HookRenderBlockEvent $event) { $content = trim($this->render("main-footer-body.html")); if ("" != $content){ $event->add(array( "id" => "links-footer-body", "class" => "default", "title" => $this->trans("Useful links", array(), "hooklinks"), "content" => $content )); } } }