Hello,
I followed these directions from katamaze to insert a column with the icon directed to the plesk or cpanel panel on my service list. (look attach image).
Unfortunately, a part of the code for how to insert icons and links to panels is missing. See below, I also reported this to katamaze but got no answer.
Can you help me solve?
Thank you
Managing multiple accounts can be frustrating for customers. The following hook makes things easier by allowing you to access any control panel directly from the My Services section. Here is a preview.
The hook works with any control panel (cPanel, Plesk, DirectAdmin, Centova Cast, Cloudmin ...) provided that the servers and products / services have been correctly integrated. Before getting the code, keep in mind that the hook requires some changes to a template file.
Open templates / {YOUR_TEMPLATE} /clientareaproducts.tpl and add the new Manage column in thead as follows.
{$ LANG.orderproduct} {$ LANG.clientareaaddonpricing} {$ LANG.clientareahostingnextduedate} {$ LANG.clientareastatus} {$ LANG.manage}
Your thead may be slightly different (e.g. in the first column you may have the SSL certificate checker) so apply the change accordingly. Then move to the tbody and add the cell right inside the {foreach} loop.
{if $ kt_autologin [$ service.id]}
****missing code ****
{/ if}
We recommend replacing the Click to Login text with a $ LANG variable for multi-language support. Now we just have to turn off the sorting for the newly added column. At the top of the file you find the following string.
{include file = "$ template / includes / tablelist.tpl" tableName = "ServicesList" noSortColumns = "4" filterColumn = "3"}
Focus on noSortColumns = "4". 4 means that the fifth column cannot be sorted (the column count starts from zero). Edit it accordingly. For example, if in your template in the first column you have the SSL certificate checker, you will write noSortColumns = "0, 5".