Totara Learn Open Discussions

Editing the Default Quick Access Menu

 
Giulia Battaglia
Editing the Default Quick Access Menu
by Giulia Battaglia - Wednesday, 14 May 2025, 2:23 AM
Group Partners

Hi all,

is there a way to edit the default quick access menu items?

Our Managers can customize their own quick access menu via the menu settings.

However, as we already know they are all going to need quick access to the Manage Tags page, I would like to save them the trouble of customizing the menu themselves and most importantly, I'd like the Manage Tags item to still be there in case they decide to reset their quick access menu.

Kind regards

Craig Eves
Re: Editing the Default Quick Access Menu
by Craig Eves (Totara Support) - Sunday, 18 May 2025, 6:35 PM
Group Totara

Hi Giulia

There is some information on how to do this in the file config.exeample.php . Edit the config..php file as below

// Configure the default quick access menu

// The quick access menu in Totara allows administrators to quickly access important links. They can customise their

// menu by adding and removing the items there.

// The following setting overrides the default menu that administrators will see before they begin customising it.

// Item keys are required and can currently only be found by inspecting the menu items in the browser.

// Group can be one of: platform, learn, engage, perform, configuration.

// $CFG->defaultquickaccessmenu = [

// [

// 'key' => 'item_key_1',

// 'group' => 'platform', // Optional, defaults to 'learn'

// 'label' => 'sometext', // Optional

// 'weight' => 1000 // Optional

// ],

// ['key' => 'item_key_2', 'group' => 'platform', 'label' => 'sometext', 'weight' => 2000],

// ['key' => 'item_key_3', 'group' => 'learn', 'label' => 'sometext', 'weight' => 3000],

// ];

To find out the key values open the quick access menu administration as an admin "/user/quickaccessmenu.php" and inspect individual menu entries using the browser console (usually right click on the row of the item and inspect). Look for the elements containing the "data-quickaccesssettings-item-key" property. This is the value for the key.

Regards