public function showAction() { // check acl if (!Knowledgeroot_Acl::iAmAllowed('content_' . $this->_getParam('id'), 'show')) { $this->_redirect(''); } // using blank layout $this->_helper->layout->setLayout('blank'); if ($this->_getParam('version') !== null) { $content = new Knowledgeroot_Content($this->_getParam('id'), $this->_getParam('version')); } else { $content = new Knowledgeroot_Content($this->_getParam('id')); } $this->view->title = $content->getName(); $this->view->content = $content->getContent(); }