Change size of popup windows

For many popup windows the default size is 500 width x 380 height, however, for the photo edit popup this means that the "submit button" is out of view on the left hand side just below the edge of the window.

In which file to I change these settings? I've only found install.sql, but changing the settings in there have not made a difference.

Can anyone help?

Thanks,

Wizard247

Quote · 16 Jun 2010

Hello open the :

templates/base/scripts/BxBaseConfig.php

find these strings :

var    $popUpWindowWidth                        = 660;
var    $popUpWindowHeight                        = 200;


and change with you want!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 16 Jun 2010

Thanks for your response, however, changing these values is not actually changing the popup window when editing a photo. This is set at size 500 width and 380 height and is determined by Javascript in the Actions block on http://mysite.com/m/photos/view/-

Code is:

<div class="button_wrapper" style="width:100%; margin: 0;"  onclick="window.open('http://amsterdamslyceum-olo.nl/m/photos/edit/1', 
'_blank', 'width=500,height=380,menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no') "
>
<div class="button_wrapper_close"></div>

Any views where these values are determined?


Thanks,
Wizard247

Quote · 16 Jun 2010

Any ideas anyone? This should be simple enough for those of you who have all the experience. Using Boonex 7.0 by the way. I checked through all the css files, but just can't find these dimensions. They've got to come from somewhere?

Wizard247

Quote · 18 Jun 2010

Hello try to find it into sys_objects_action, maybe this params was wrote into code

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 18 Jun 2010

Thanks! That was indeed where it was. Did a search on parameters "width=500,height=380" and changed them all. Edit Photo window popup shows up without horizonal or vertical scroll bars now.


Fantastic!

Wizard247

Quote · 22 Jun 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.