Author Topic: How to change size of leavemessage screen ?  (Read 8326 times)

0 Members and 1 Guest are viewing this topic.

jason.a.reid

  • Jr. Member
  • **
  • Posts: 3
How to change size of leavemessage screen ?
« on: March 15, 2010, 09:24:16 AM »
Hello,

I have looked through users.js & leavemessage.tpl & leavemessage.php , but cannot work out where to specify the window size of the popup screens when sending an email via the email button in the main chat screen, as well as the popup size when no operator is available.

Can someone please assist?

jason.a.reid

  • Jr. Member
  • **
  • Posts: 3
Re: How to change size of leavemessage screen ?
« Reply #1 on: March 15, 2010, 09:25:41 AM »
What I am doing is changing the code to create a HD Ticket in Remedy, rather than email (which we would copy into an HD case anyway)

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: How to change size of leavemessage screen ?
« Reply #2 on: March 15, 2010, 09:09:58 PM »
1. "Leavemessage window" has the same size as the normal chat window. Its size is defined in the button code.
see libs/operator.php, function generate_button(): .... menubar=0,width=640,height=480,resizable=1.....

2. "Mail window" has theme specific size.
see styles/<theme>/templates/chat.tpl, search for "ForwardMail"

PS: I have in my plan for the upcoming release to move all these settings into theme configuration file.