[eluser]Darkcloud4491[/eluser]
Ok at the moment I'm useing the Menu 1.0.0 spark to create my menu.
Is there a way that i can change if so instrad of using
Code:
$this->load->spark('menu/1.0.0'); //Load Menu Spark
/*******************************************************
*
* Start Menu Code
* $nav[SYSTEM_URL_ROOT.'PAGE_NAME'] = 'Link Name;
*
* SYSTEM_URL_ROOT is set in
* application/config/config.php
* as $config['base_url'] = 'http://site.com';
******************************************************/
$nav = array();
$nav[SYSTEM_URL_ROOT.'home'] = 'Home';
$nav[SYSTEM_URL_ROOT.'comments'] = 'Comments';
$nav[SYSTEM_URL_ROOT.'about'] = 'About';
$active = 'home';
/*******************************************************
*
* This Is not Needed But can be
* enabled for a blank menu slot
*
* $nav['blank-holder'] = array('blank' => TRUE);
******************************************************/
$data['menu'] = $this->menu->render($nav, $active, NULL, 'basic');
I can pull the information from the SQL database?