added submenu html
This commit is contained in:
parent
598081b2a8
commit
85598a0d85
2 changed files with 17 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue