added submenu html

This commit is contained in:
jeena 2013-07-17 14:48:05 +02:00
parent 598081b2a8
commit 85598a0d85
2 changed files with 17 additions and 1 deletions

View file

@ -4,6 +4,12 @@ class DidgeridooArtwork_Controller_Plugin_Navigation extends Katharsis_Controlle
public function preController()
{
$view = Katharsis_View::getInstance();
$navigation = new Navigation();
$view->mainNavigationItems = $navigation->getAllItems();
/*
$sql = "SELECT id, name, controller, action, link FROM navigation WHERE parent_id IS NULL AND active = 1 ORDER BY sorting";
$view->mainNavigationItems = $this->_con->fetchAll($sql);
@ -34,6 +40,6 @@ class DidgeridooArtwork_Controller_Plugin_Navigation extends Katharsis_Controlle
$sql = $this->_con->createStatement($sql, array('controller' => $row['controller'], 'action' => $row['action']));
$view->activeSubMenuItem = $this->_con->fetchField($sql);
}
}
}*/
}
}