In version 4.0.1 a client could login to their Blesta account - - > Click the " Manage " button - - > and be taken to a page where they could manage their services.
On that page there WAS a link within the left-side navigation where they could access their C-Panel account and webmail.
The file responsible for this function WAS called " tab_client_login.pdt " .
It was located in the/components/modules/cpanel/views/default folder .
=================
After upgrading to Blesta 4.11.2 ,
1) - I see the " tab_client_login.pdt " was removed from the folder
2) - And the “C-Panel Logins” Link was also removed from the left-side navigation menu
=================
So I RE-Created this link that was originally a part of Blesta in version 4.0.1
1ST ) - I RE-inserted the " tab_client_login.pdt " from my former install ( from version 4.0.1 ) into the folder located at /components/modules/cpanel/views/default
2ND ) -Then I added the following code to LINE 14 of the " cpanel.php " file located at /components/modules/cpanel/language/en_us
Question
turner2f
Hello Support,
In version 4.0.1 a client could login to their Blesta account - - > Click the " Manage " button - - > and be taken to a page where they could manage their services.
On that page there WAS a link within the left-side navigation where they could access their C-Panel account and webmail.
The file responsible for this function WAS called " tab_client_login.pdt " .
It was located in the /components/modules/cpanel/views/default folder .
=================
After upgrading to Blesta 4.11.2 ,
1) - I see the " tab_client_login.pdt " was removed from the folder
2) - And the “C-Panel Logins” Link was also removed from the left-side navigation menu
=================
So I RE-Created this link that was originally a part of Blesta in version 4.0.1
1ST ) - I RE-inserted the " tab_client_login.pdt " from my former install ( from version 4.0.1 ) into the folder located at /components/modules/cpanel/views/default
2ND ) - Then I added the following code to LINE 14 of the " cpanel.php " file located at /components/modules/cpanel/language/en_us
$lang['Cpanel.tab_client_login'] = 'CPanel Logins';
So that it looks like . . .
12. $lang['Cpanel.tab_client_stats'] = 'Web Stats & Usage'; 13. $lang['Cpanel.tab_client_actions'] = 'Actions'; 14. $lang['Cpanel.tab_client_login'] = 'CPanel Logins';
3RD ) - And finally I added the following code to LINE 62 of the " cpanel.php " file located at /components/modules/cpanel
tabClientLogin' => Language::_('Cpanel.tab_client_login', true)
So that it looks like . . .
57. public function getClientTabs($package) 58. { 59. return [ 60. 'tabClientActions' => Language::_('Cpanel.tab_client_actions', true), 61. 'tabClientStats' => Language::_('Cpanel.tab_client_stats', true), 62. 'tabClientLogin' => Language::_('Cpanel.tab_client_login', true) 63. ]; 64. }
The result is that I have successfully created a link within the left-side navigation menu that links to . . .
https://support.mywebsitename.com/clientcntr/services/manage/136/tabClientLogin/
[ See Attached Screenshot ]
. . . BUT . . .
I cannot get it to successfully link to the " tab_client_login.pdt " file inside the folder located at . . .
/components/modules/cpanel/views/default
In other words, when I click on the " CPanels Login " link, it just stays on the same page at . . .
https://support.pigomultimedia.com/clientcntr/services/manage/136
________________________________
NOTE : I am just trying to RE-create a function that was originally in Blesta 4.0.1, ( but was later removed at some point by versoin 4.11.2 )
Q1) - How do I get the " CPanels Login " link to connect and actually display the interface from the " tab_client_login.pdt " file ?
Thanks in advance.
Please help.
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.