PDA

View Full Version : Extend ISPmanager by 3th party products


Igor
09-27-2004, 06:42 AM
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:
<?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 !!)
<?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

bone531
11-22-2005, 09:50 AM
Example

Does it work all the time for you?:?

Igor
11-22-2005, 10:01 AM
this post valid for very old version.

for new examples see documentation.