Si Posted July 7, 2008 Share Posted July 7, 2008 Hi, In the clientareaproductdetails.tpl I only want to show the login details (username and password) and the change password form details to customers who have a particular account type, ie, in the cpanel group. The reason is I have a reseller service as well which does not use cpanel and showing the login details (which are not correct) is confusing my customers. I'm guessing it would be an 'if' statement. Can anyone help? thanks in advance. Si 0 Quote Link to comment Share on other sites More sharing options...
Si Posted July 7, 2008 Author Share Posted July 7, 2008 Hi, I managed to figure this out. For anyone else interested, this is what you do: Open your clientareaproductdetails.tpl file. Before: {if username} (around line 50) add this above it: {if $groupname eq "whatever you call your cpanel packages"} Note: if you are unsure what you call your cpanel package, login as a client with one of the cpanel packages and view the details to see the clientareadetails.tpl page....then look at the Product/Service name as displayed underneath the Registration date and the first part of it, is the group name and is exactly what you need to input in the 'whatever you call your cpanel packages' code. then, don't forget to close out the if statement by adding this {/if} below {/form} around line 90. Si 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.