How to remove the mail and applications links in the left pane of Parallels Panel interface.

Created:

2016-11-16 12:58:56 UTC

Modified:

2017-04-24 12:01:22 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to remove the mail and applications links in the left pane of Parallels Panel interface.

Applicable to:

  • Plesk 11.0 for Linux

The attached patched files NavigationContext.php allow to use parameters 'hide_applications_link' and 'hide_mail_link' in psa.misc MySQL table to hide/show ' Applications ' and ' Mail ' link in left menu. Parameter value 'true' means 'hide link', 'false' means 'show link'.

Plesk for Linux:

  1. Extract and copy NavigationContext.php to /usr/local/psa/admin/plib folder first. It is recommended to backup original file;

  2. Then, to hide 'Mail' link run the command below, after that 'Mail' link will be hidden in the left menu of all users:

    # MYSQL_PWD=`cat /etc/psa/.psa.shadow`  mysql -uadmin -Dpsa -e "insert into misc (param, val) values ('hide_mail_link', 'true')"
  3. To hide 'Applications' link run the command below, after that 'Applications' link will be hidden in the left menu of all users:

    # MYSQL_PWD=`cat /etc/psa/.psa.shadow`  mysql -uadmin -Dpsa -e "insert into misc (param, val) values ('hide_applications_link', 'true')"

Plesk for Windows:1. Extract and copy NavigationContext.php to %plesk_dir%\\admin\\plib folder first. It is recommended to backup original file;

  1. To hide 'Mail' link go to %Plesk_bin% folder and run the command below, after that 'Mail' link will be hidden in the left menu of all users:

    dbclient.exe --direct-sql --sql="insert into misc (param, val) values ('hide_mail_link', 'true')"
  2. To hide 'Aplications' link go to %Plesk_bin% folder and run the command below, after that 'Applications' link will be hidden in the left menu of all users:

    `dbclient.exe --direct-sql --sql="insert into misc (param, val) values ('hide_applications_link', 'true')"`

Do not forget restart Plesk after all these changes.

Have more questions? Submit a request
Please sign in to leave a comment.