View Single Post
Old 09-27-2004, 06:42 AM   #1
ISPsystem team
 
Join Date: Mar 2004
Posts: 98
Igor has disabled reputation
Default Extend ISPmanager by 3th party products

Example
how to add phpPgAdmin to ISPmanager main menu.
This example helps you to understand how it works and then you can self link other products (webmails, log analysers, scripts for install forums, guestbooks .......)

at first you should have installed phpPgAdmin.
for example you already can access it https://your.domain.com/pgadmin/
and you wish integrate this link to ISPmanager main menu

well.
all below configs located at /usr/local/ispmgr/etc

1. Open file 'config' and add line 'extaction phppgadmin /pgadmin/'

2. Create message file msg_en.local.xml (don't edit msg_en.xml !!!)
my msg_en.local.xml for this example:
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<messages>
<desktop>
<msg name="menu_phppgadmin">PhpPgAdmin</msg>
</desktop>
</messages>
also you can create message files for other languages

3. Create local menu mainmenu.local.xml (don't edit mainmenu.xml !!)
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<mainmenu>
<navigation level="7">
<node name="ext">
<node name="phppgadmin"/>
</node>
</navigation>
<navigation level="5">
<node name="ext">
<node name="phppgadmin"/>
</node>
</navigation>
</mainmenu>
4. restart ISPmanager (killall ispmgr)

in this example 'phppgadmin' is internal function name
__________________
ISPsystem support team
Igor is offline   Reply With Quote