Most of my agents are Call Back agents. I like to have that be the default option when agent login.
To do that, I modify the code in /var/www/html/themes/tenant/_common/index.tpl
FIND:
{$HEADER_MODULES}
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" "class="mainBody page-body" {$BODYPARAMS}>
PUT this code between {$HEADER_MODULES} and </head>
{$HEADER_MODULES}
<script type='text/javascript'>
function checkTheBox()
{
document.getElementById("input_callback").click();
document.getElementById("input_callback").checked=true;
}
</script>
</head>
CHANGE ENTRY:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" "class="mainBody page-body" {$BODYPARAMS}>
INSERT
onLoad="checkTheBox()"
MAKE IT LOOK LIKE THIS:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="checkTheBox()" class="mainBody page-body" {$BODYPARAMS}>
Save your changes and test.