size of popup windows


#1

hi all

is there any way to control the size of popup windows - eg when editing a content item. it is really annoying to have to maximise all windows every time you open them as they are by default not big enough.

thanks
michelle


#2

Hi Michelle,

Not sure which fields you would like to have a larger popup window, so below is the info for the EditLive control. There are other parameters in the same config file that control the height/width of other controls.

The size of the dialog window opened when you edit an EditLive field using AA is specified in the sys_Templates.xsl file with the sys_EditLive control. If you need to make a modification to the file, you should edit the one in the /rxroot/rx_resources directory so it wont be overwritten on an upgrade or patch. RX best practices suggests that you modify it by copying the fields you want to modify from the /rxroot/sys_resources/sys_Templates.xsl file and put them in the rx_resources/sys_Templates.xsl file and then do your update.

The width and height of the AA EditLive dialog box are controlled by the dlg_width and dlg_height parameters with shipped settings of 800 and 350.

There is another parameter pair that controls the width and height of the EditLive window (which gets opened inside the AA dialog window when in AA). Those parameters are in the EditLive control def and are called width and height and the values set are 760 and 250. These are the values also used to when you use the content editor to modify and EditLive field. So if you modify them the modified values will be used for all EditLive controls.

EditLive also has a nice little control icon called “Window View” which opens the EditLive instance in a larger window view…but not full screen. The control is located to the left of the print control icon.

After making your change and saving the sys_Templates.xsl file, you must close your browser and restart if for the changes to take effect. You cant just clear the browser cache.

Rhonda


#3

I think she was talking about the editing content window itself, which would contain editlive fields. It never opens up large enough for me, requiring some vertical scrolling.

However, the problem almost always lies with the editlive boxes, so shrinking those would negate the problem of having the window need to be larger.

Thanks for the tip.


#4

Hi Michelle

You will need to open the workbench and go to where the action menu items are listed:

For 6.X
You need to add the targetStyle parameter to the list of parameters for the “Create_New_Item” action menu.

targetStyle:
scrollbars=0, width=638, resizable=1, height=382, status=0, toolbar=0, location=0, menubar=0

You can then alter the height and width to the desired size.

For 5.X

The targetStyle param is already set for the “New Item” action menu item. Just alter the values to the desired size.

Cheers
James


#5

many thanks


#6

How about windows like the search for related content pop up?


#7

[QUOTE=jimbo;3535]For 6.X
You need to add the targetStyle parameter to the list of parameters for the “Create_New_Item” action menu.[/QUOTE]

Two things to note:

[ol]
[li]Editing the Create_New_Item menu will not change the size of the pop-up window when users edit an existing content item. Only when you create a new content item. You need to alter the Style field in the Options on the General tab of the Edit menu entry as well.[/li][li]This menu already has the targetStyle parameter, but it is hidden. Whereas menu items have an options on the General tab, menus only have parameters. But it seems that any parameter which is too long gets hidden when the menu editor is loaded. Then, if you save the menu, those hidden parameters are deleted. We have reported this to Percussion technical support in the UK. We find it more reliable to edit the RXMENUACTIONPARAM table in the database instead.[/li][/ol]


#8

I’m in agreement with Keevan… how can we resize the search window that pops up when adding related content - the ‘Search’ button is just off-screen and it is really annoying to have to scroll a few millimetres just to click it, every time.

Does anyone know? It would save lots of frustration, especially when adding several items to a slot.


#9

To modify the size of the search window popup, you need to edit the rx_ephox.js file located in the rx_resources/ephox directory. Look for a method def called launchSearchBox(). Within that method, you will see 2 calls to window.open. Modify the height property in both places.


#10

Thank you very much for that quick and easy fix to the Search box in Ephox. It took 2 minutes but has created a lot of happy users! :smiley:


#11

How about the Related Content Search from within the Active Assembly Table Editor, a.k.a. RC_Search? I’d like it to be the same size as the search box from within Ephox.


#12

How about the Related Content Search from within the Active Assembly Table Editor, a.k.a. RC_Search? I’d like it to be the same size as the search box from within Ephox.

Rhythmyx/sys_resources/stylesheets/relatedcontentctrl.xsl


#13

That worked a treat! Very useful information :slight_smile:


#14

Just a note that that is a system file and will get overwritten on upgrade (and possibly patch.) You should always save any changes to system files in a version control system so they can be redone after an upgrade.


#15

Hi!
We are using Percussion 6.7 and have customized the Edit content popup window size through the Workbench->UI Elements Design->Content Explorer->Menu Entries->User->Edit->General Tab->Options->Style.
Now the Popup Window Size looks how we expected ONLY during the process of loading the Content Edit Page. As soon as the Content Edit Page is fully loaded, the Page Window Size shrinks back to the default size.
Does anyone know how to solve this problem? Any advice/idea is appreciated.

Thanks


#16

Workbench > UI Elements Design > Content Explorer > Menus > User > Dynamic > Create_New_Item

Open and go to Command tab. Add a parameter with name “targetStyle” and value “toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=900,height=700”

Workbench > UI Elements Design > Content Explorer > Menu Entries > User > Edit

Open and on the General tab, change the “Style” to “toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=900,height=700”

Workbench > UI Elements Design > Content Explorer > Menu Entries > User > Quick_Edit

Open and on the General tab, change the “Style” to “toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=900,height=700”


#17

We received a workaround from Technical Support so you can change the resize of the window in the AA popups.

"You can modifiy the function resizeWindow() in [rxRoot]\sys_resources\stylesheets\activeEdit.xsl. The one caveat on editing this file is that the file will be overwritten whenever you install a patch or upgrade, so you would need to backup the file before hand. "


#18

Then you need to refresh the content management, so it loads the new settings.