Skinner Posted June 22, 2014 Share Posted June 22, 2014 Hi is it possible to have the attention items box refresh every 10 mins or so? Tickets etc. http://s29.postimg.org/utegbog1j/attention_box.png Thanks. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted June 22, 2014 Share Posted June 22, 2014 its done thru jQuery in whmcs/modules/widgets/system_overview.php about 3/4 the way down the page and attentionitems is your first text display so go from there. I did not notice any kind of timer or anything, and the file is not encoded... $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>"); });'; Hope that helps. 0 Quote Link to comment Share on other sites More sharing options...
Skinner Posted June 22, 2014 Author Share Posted June 22, 2014 Thanks, will take a look, feature request maybe. 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.