DeWebDude Posted January 27, 2021 Share Posted January 27, 2021 Hello All, I'm trying to figure out when you go to a support ticket how to "hide" the clients services, in some cases it's only one line, but on a bigger client it may be 10 lines, which just takes up too much screen space when working on a ticket. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 28, 2021 Share Posted January 28, 2021 18 hours ago, DeWebDude said: I'm trying to figure out when you go to a support ticket how to "hide" the clients services, in some cases it's only one line, but on a bigger client it may be 10 lines, which just takes up too much screen space when working on a ticket. do you mean the Related Services table shown on the ticket page...? if so, you could hide it with a hook - either by nulling the relevant array, or using CSS to hide the table. 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted January 28, 2021 Author Share Posted January 28, 2021 Yes, I believe that would be it. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 29, 2021 Share Posted January 29, 2021 15 hours ago, DeWebDude said: Yes, I believe that would be it. to null the array, would just need a quick hook... <?php function admin_remove_ticket_related_services_hook($vars) { if ($vars['pagetemplate'] == "viewticket") { return array ("relatedservices" => null); } } add_hook("AdminAreaPage",1,"admin_remove_ticket_related_services_hook"); 2 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted July 1, 2021 Author Share Posted July 1, 2021 Sorry for the delayed response! This worked perfectly, thank you! I wanted to make sure that I only needed to add the add_hook & function in hooks.php ( where I currently have it)? Thanks again! 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted September 30, 2021 Author Share Posted September 30, 2021 for some reason I thought this was working, but recently seems to not be, any suggestion>? 0 Quote Link to comment Share on other sites More sharing options...
Bigol'tastynuggets Posted September 30, 2021 Share Posted September 30, 2021 Unfortunately brian! Left the community after becoming a bit miffed with whmcs and the way they treat people! I like to think he's chilling, with his feet up but a man this dedicated to helping others will struggle to just stop! Either way, don't take it personally if you get ignored! Staff rarely help unless it's to do with them getting paid and the best members of the community have already ditched us 😜 If you post more about the issue you may drop lucky with someone who knows! WHMCS do claim to offer super duper *premium* support to members now in exchange for huge price increases so you could raise a ticket and if they've managed to plug the licensing servers back in and find the power button you may get some help! 0 Quote Link to comment Share on other sites More sharing options...
bear Posted September 30, 2021 Share Posted September 30, 2021 For me, I edited the template to move the services to the bottom. There if I need to see it, just scroll down. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 3, 2021 Share Posted October 3, 2021 On 30/09/2021 at 23:56, Bigol'tastynuggets said: Unfortunately brian! Left the community after becoming a bit miffed with whmcs and the way they treat people! as I said in another thread, I no longer need to work - so why spend my time constantly supporting failing software that I will never use? On 30/09/2021 at 23:56, Bigol'tastynuggets said: I like to think he's chilling, with his feet up but a man this dedicated to helping others will struggle to just stop! on the contrary, i'm genuinely finding it easy... I knew for the last 2 days, i'd be coming here today and I wasn't looking forward to it. I wish I had logged in today, found all/most the threads getting answered by others... in reality, I sadly find that despite not being here for two months, i'm still top of the monthly reputation leader board... that's ridiculous and shows you how dead this place has become. sadly, I no longer want to come here frequently and reply to questions.... I can still do it if I choose to, and I know i'm probably the best at it, but my heart is no longer in it (and that's not going to change). 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.