ZoXx Posted September 2, 2016 Share Posted September 2, 2016 Hello, weve got Plesk on our server and some different client groups. Is it possible to change the button "open control panel" so that client group 1 can use it (maybe self hosting) and client group 2 (managed hosting) cant used it? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 3, 2016 Share Posted September 3, 2016 it is possible by writing action hook and/or edit template file, Do you have this button in product details or in sidebar? 0 Quote Link to comment Share on other sites More sharing options...
ZoXx Posted September 5, 2016 Author Share Posted September 5, 2016 Good morning from germany, we have this button in product details. Is there an example hook or something like that we could use? thanks! 0 Quote Link to comment Share on other sites More sharing options...
ZoXx Posted September 10, 2016 Author Share Posted September 10, 2016 nobody any idea? 0 Quote Link to comment Share on other sites More sharing options...
ZoXx Posted October 25, 2016 Author Share Posted October 25, 2016 *up* it would be great if anaybody could help 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 25, 2016 Share Posted October 25, 2016 if you could do it in a template, then you could use the value of $clientsdetails.groupid for this - if the client is not in a client group, it's value will be 0; if he is, then the value will be the ID of the client group they're assigned to. if you could find the button code in the templates, then you could wrap it if an if statement... e.g if you wanted the button to only show to clients in group 1... {if $clientsdetails.group eq '1'} *button code* {/if} unfortunately, I don't use Plesk and so I don't know if this is something you can do in clientareaproductdetails.tpl directly; if it's in a separate Plesk template or an encoded file... inspecting the code in the browser might give you a clue where the button code actually is. 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.