Position Modules

edited July 2013 in Modules
How do I control the order of which the modules are displayed?

For example,
Dashboard, Blog, Tools....

what if I want my module to go above Blog???

Comments

  • edited 2:06AM
    You can overwrite the default 'nav' settings in your MY_fuel which are the following (from the main fuel config):
    // site... Dashboard will always be there $config['nav']['site'] = array( 'dashboard' => lang('module_dashboard'), 'pages' => lang('module_pages'), 'blocks' => lang('module_blocks'), 'navigation' => lang('module_navigation'), 'tags' => lang('module_tags'), 'categories' => lang('module_categories'), 'assets' => lang('module_assets'), 'sitevariables' => lang('module_sitevariables') ); // my modules... if set to empty array, then it will automatically include all in MY_fuel_modules.php $config['nav']['modules'] = array(); // tools $config['nav']['tools'] = array(); // manage $config['nav']['manage'] = array( 'users' => lang('module_users'), 'permissions' => lang('module_permissions'), 'manage/cache' => lang('module_manage_cache'), 'logs' => lang('module_manage_activity'), 'settings' => lang('module_manage_settings'), ); // will auto arrange the navigation into the normal order $config['nav_auto_arrange'] = TRUE;
Sign In or Register to comment.