|

|
Can I add my own buttons in the
Plesk control panel?
|
Administrator can insert into Plesk 6.0 control panel any additional buttons
that will be linked to some URL. Thus, when a user clicks on such button,
the URL link specified will open in a new browser window. The buttons
will be located on the Domain Administration page and displayed for all
clients' domains. The buttons will be placed below the domain management
buttons, 4 buttons in a row.
NOTE
The
number of customizable buttons is unlimited and does not depend on the
key.
How
to customize a new button:
1.Insert a record in psa database in the table custom_buttons
with text, url and context help tip. The path
should be specified relatively to /usr/local/psa/admin/htdocs.
Example
#mysql
-u admin -p`cat /etc/psa/.psa.shadow` -e "insert into custom_buttons
(text, url, conhelp) values ('Button Text', 'http://www.sw-soft.com',
'Corporate Site.');" -D psa
You
will possibly have to specify the full path to mysql if the path is not
set in the PATH variable.