Page 1 of 1

File to edit escalation wizard selection window (width)

Posted: Fri Nov 18, 2016 12:42 pm
by dlukinski
Hello XI support

Please remind which file and where to edit for increasing Escalation Wizard service selection window width permanently?
- as attached, but permanently..

Thank you

Re: File to edit escalation wizard selection window (width)

Posted: Fri Nov 18, 2016 2:40 pm
by tgriep
To change the width for that field, edit this file

Code: Select all

/usr/local/nagiosxi/html/includes/components/escalationwizard/escalationwizard.php
The setting is around line 248 you would increase the width % to a larger value to make that box wider. I increased mine to 50% on the width in the example below

Code: Select all

<select class='required form-control' style='height: 300px; min-width: 200px; width: 50%;' name='selected[]' id='selected' multiple='multiple'>
Save the file and you may have to restart apache by running

Code: Select all

service httpd restart

Re: File to edit escalation wizard selection window (width)

Posted: Fri Nov 18, 2016 3:03 pm
by dlukinski
tgriep wrote:To change the width for that field, edit this file

Code: Select all

/usr/local/nagiosxi/html/includes/components/escalationwizard/escalationwizard.php
The setting is around line 248 you would increase the width % to a larger value to make that box wider. I increased mine to 50% on the width in the example below

Code: Select all

<select class='required form-control' style='height: 300px; min-width: 200px; width: 50%;' name='selected[]' id='selected' multiple='multiple'>
Save the file and you may have to restart apache by running

Code: Select all

service httpd restart

Thank you
Please close