Simple Module creation and link on dashboard
Created a simple module by creating the model and also added an entry to My_Fuel_modules.
A link gets created under "MODULES"
Is there a way - I could create these links only under "Manage" and not under modules.?
I actually tried the following
I edited My_Fuel.php under config and added for navigation
$config['nav']['manage'] = array(
'providers' => lang('module_providers'));
This comes up neatly under the manage. However without loading the module by having an entry in My_Fuel_Modules - module cannot be loaded. So I added an entry there too
$config['modules']['providers'] = array('module_name' => 'Providers',
'module_uri' => 'providers',
'permission' => 'providers',
'nav_selected' => 'providers',
);
Now - there are two links
1 - Under Module
2. - Under Manage.
Ideally I just need under Manage and not under module.
Can any one help me if there is a config which loads the module, but hides the link under "Module". I think - that would solve my issue.
thanks
Sid
Comments
I did try adding an entry such as fuel
@include(APPPATH.'language/english/MY_fuel_language.php');
did not work..