asd200 Posted May 19, 2016 Share Posted May 19, 2016 Hi everyone! I have question if it's possible to change login link to cPanel - this one in product details. Now in my temeplate is this code: <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Email_Accounts" target="_blank"> <img src="modules/servers/cpanel/img/email_accounts.png" /> {$LANG.cPanel.emailAccounts} </a> and after click it redirecting me to myserver.com:2083/cpasses.... What I want is this, that after click it redirecting to cpanel.mydomain.com/cpasses... Thanks for your answears, regards! Is is possible? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 19, 2016 Share Posted May 19, 2016 i'm not sure if you're talking about the cpanel sidebar login, or the cpanel quick shortcuts - if it's the sidebar, then that would be modified by an action hook... http://forum.whmcs.com/showthread.php?104894-Login-to-cPanel-amp-Webmail-on-Client-Product-Details if it's the shortcuts, then they're changed by editing a template. http://docs.whmcs.com/CPanel_Single_Sign-On#Customising_Single_Sign-On_Shortcuts http://docs.whmcs.com/Working_with_Module_Templates 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 19, 2016 Author Share Posted May 19, 2016 Yep exactly it's shortcuts in product details. And I already knew that responsible file is /modules/servers/cpanel/templates/overview.tpl but I don't know how to edit this code to change login link. As I mentioned above the link code looking like this: <a href="clientarea.php?action=productdetails&id= {$serviceid}&dosinglesignon=1&app=Email_Ac counts" />this adress is pointing to myservername.com:2083 What I want is change link pointing to cpanel.mydomain.com Do you have any solution? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 19, 2016 Share Posted May 19, 2016 I don't think there is one that you'll like - yes, you can change the link to go direct to the cpanel url... but that wouldn't use SSO and so the client would need to login. ... and I suspect you can't easily tweak the resulting URL as it will be in one of the encrypted files. 0 Quote Link to comment Share on other sites More sharing options...
IgorBeDust Posted May 12, 2022 Share Posted May 12, 2022 Hi, Since 2016, Is there a way to achieve this ? Personally I get "IPAddress:2083/cpasses..." I do not see any easy way to solve this issue. I would love to redirect my users to heir own domain with the cpanel subdomain and SSO enabled. 0 Quote Link to comment Share on other sites More sharing options...
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.