Log in

View Full Version : Add menu options to modcp nav


Nullifi3d
10-06-2005, 12:25 AM
How do I add menu options to the modcp nav? Just like the way Kirby's admincp nav hack works.

jimmylotus
10-06-2005, 12:34 AM
You need to edit the modcp\index.php

The menu items of Modcp are constructed by PHP itself but not xml.

This is the Format:

1 Go and Find if ($_REQUEST['do'] == 'nav')
2 In the proper place insert the folllowing sentence:
construct_nav_option($vbphrase['the words displayed'], 'the http links');

The italic words is the ones that you should change.

Andreas
10-06-2005, 12:36 AM
Hook mod_index_navigation
But you don't have as much control over there as in AdminCP.

Nullifi3d
10-06-2005, 12:39 AM
k, thanks. I'll go check it out.

The Wise One
11-13-2005, 11:39 AM
is there any way to make additional menus in the modcp collapsible?