Quick search:

How to change the main menu

The easiest way to change the main menu is to edit the file 'skinMenuPart.php' in the includes folder. This will affect all applications. To affect only one application, copy the file to its application folder and edit it there.

For a more dynamical menu you can also override the method printBody on MenuPart (affects all applications) or copy the file 'classMenuPart.php' from the root classFolder (classes) to your application classFolder and override it there (only affects the application).