Jump to content

Remove Attention Items Bar


PDS

Recommended Posts

What is the best way to disable or remove the Admin Summary > Attention Items Bar?

I dislike playing with the admin side of things, but if you want to hide this box, I think the file to edit is:-

 

modules/widgets/system_overview.php - replace the following...

 

$jquerycode = 'jQuery.post("index.php", { getsystemoverview: 1 },

function(data){

jQuery("#systemoverviewstats").html(data);

jQuery("#systemoverviewstats").slideDown();

jQuery("#sysoverviewbanner").html("<div style=\"margin:0 0 -5px 0;padding: 10px;background-color: #FBEEEB;border: 1px dashed #cc0000;font-weight: bold;color: #cc0000;font-size:14px;text-align: center;-moz-border-radius: 10px;-webkit-border-radius: 10px;-o-border-radius: 10px;border-radius: 10px;\">'.$_ADMINLANG['global']['attentionitems'].':   <a href=\"supporttickets.php\">'.$ticketsawaitingreply.' '.$_ADMINLANG['stats']['ticketsawaitingreply'].'</a>  -  <a href=\"cancelrequests.php\">'.$cancellationrequests.' '.$_ADMINLANG['stats']['pendingcancellations'].'</a>  -  <a href=\"todolist.php\">'.$todoitemsdue.' '.$_ADMINLANG['stats']['todoitemsdue'].'</a>  -  <a href=\"networkissues.php\">'.$opennetworkissues.' '.$_ADMINLANG['stats']['opennetworkissues'].'</a></div>");

});';

with...

$jquerycode = 'jQuery.post("index.php", { getsystemoverview: 1 },

function(data){

jQuery("#systemoverviewstats").html(data);

jQuery("#systemoverviewstats").slideDown();

jQuery("#sysoverviewbanner").html("<div style=\"display:none\">'.$_ADMINLANG['global']['attentionitems'].':   <a href=\"supporttickets.php\">'.$ticketsawaitingreply.' '.$_ADMINLANG['stats']['ticketsawaitingreply'].'</a>  -  <a href=\"cancelrequests.php\">'.$cancellationrequests.' '.$_ADMINLANG['stats']['pendingcancellations'].'</a>  -  <a href=\"todolist.php\">'.$todoitemsdue.' '.$_ADMINLANG['stats']['todoitemsdue'].'</a>  -  <a href=\"networkissues.php\">'.$opennetworkissues.' '.$_ADMINLANG['stats']['opennetworkissues'].'</a></div>");

});';

when you next update WHMCS, you'll overwrite this file - so you'll have to remember to edit it again if you still want to hide the box.

Link to comment
Share on other sites

just as a follow-up, apparently there is a simple way to disable it by going to (mentioned by PDS)...

 

Setup -> Staff Management -> Administrator Rules - Edit Administrator and untick System Overview widget.

 

I think this will just disable the information from showing, but the red box would still be there.

Link to comment
Share on other sites

Thanks for your initial answer brian though I have yet to try it.

 

>I think this will just disable the information from showing, but the red box would still be there.

Yes, I had same result disabling System Overview widget

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated