getDB(); $param = $system->getRequest()->getParam(); // uncomment the following lines to get access to the localized strings // $locale = $system->getActiveLocale(); // $strings = $this->loadLocaleStrings($locale,__FILE__); // TODO: implement try { $layout = $this->findLayout($system->getSiteId(), $activeInstance); $template = $this->loadTemplate($this->getMyId(), $system->getTarget('action'), $layout, true); $response->setFragment('CONTENT', $template->getDocument()); } catch(FileNotFoundException $ex) { $response->setFragment('CONTENT', $ex->getMessage() . ' :' . $ex->getContext()); } } }