Log in

View Full Version : Add Link to MODCP


alehawk
01-06-2009, 05:49 PM
Hi!
I would like to add a link to, for example mypage.php in the modcp toolbar.
How can I do this?
Thnk you!

Dismounted
01-07-2009, 07:56 AM
There is no simple way to add links into the Mod CP, unlike the Admin CP, you cannot simply drop a file into the includes/xml directory.

alehawk
01-07-2009, 01:35 PM
There is no simple way to add links into the Mod CP, unlike the Admin CP, you cannot simply drop a file into the includes/xml directory.

And how do I do to include it in the admincp?
Tnx!

ragtek
01-07-2009, 01:37 PM
https://vborg.vbsupport.ru/showthread.php?t=82698&highlight=admincp+navigation

--------------- Added 1231342875 at 1231342875 ---------------

And it's not true, that there is no simple way;) to add your own links to the modcp

For this, Hook mod_index_navigation is available;)


construct_nav_option('my panel', 'ragtek.php?do=foo');
construct_nav_group('ragtek');
construct_nav_spacer();

You can also use phrases instead of txt;)

alehawk
01-08-2009, 01:55 AM
https://vborg.vbsupport.ru/showthread.php?t=82698&highlight=admincp+navigation

--------------- Added 1231342875 at 1231342875 ---------------

And it's not true, that there is no simple way;) to add your own links to the modcp

For this, Hook mod_index_navigation is available;)


construct_nav_option('my panel', 'ragtek.php?do=foo');
construct_nav_group('ragtek');
construct_nav_spacer();

You can also use phrases instead of txt;)Thank you very much!!!! :)