sammybotz Posted November 14, 2007 Share Posted November 14, 2007 Customer logs in and clicks on my hosting packages then view details. I want to delete the "Login to Webmail" button. I have searched for about two hours and cant figure it out. Its not in the clientareaproductdetails.tpl Please advise and thanks very much 0 Quote Link to comment Share on other sites More sharing options...
bear Posted November 14, 2007 Share Posted November 14, 2007 Not entirely sure where it gets the data to populate that, but this is the variable that calls both buttons: "$serverclientarea" on that page. 0 Quote Link to comment Share on other sites More sharing options...
robbo Posted November 14, 2007 Share Posted November 14, 2007 The Login to Control Panel and Login to Webmail buttons are called by "{$serverclientarea}". Remove this and it will remove both buttons. The way I did it, as I only have 1 server and Cpanel is by replacing it with <form name="cpanellogin" action="http://ip:2082/login/" method="post" target="_blank"> <input type="hidden" name="user" value="{$username}"> <input type="hidden" name="pass" value="{$password}"> [url="javascript:document.cpanellogin.submit();"][b]Login to Control Panel[/b][/url] <input type="submit" value="Login to cPanel" class="button"> </form> I'm sure if you played around you could get this to call the correct server IP and control panel if it is different. Thats the basics of it, good luck 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.