How to change Edit content window height
Last Post 01/08/2015 4:00 PM by Joseph Craig. 5 Replies.
Author Messages
SCMAO
Nuke Ace
Nuke Ace
Posts:56


--
12/13/2014 8:22 PM  
When you edit content in our website, the edit content popup window is very small. I think we changed something long time ago that affected the window height.
I compared with Firebug a default DNN installation with our website, and Firebug shows a section like this for the default DNN website:
 < iframe frameborder="0" scrolling="auto" src="http://localhost:8080/Home/ctl/Edit/mid/362?popUp=true" id="iPopUp" class="ui-dialog-content ui-widget-content" style="width: 939px; max-height: 965px; height: 539px; min-height: 435px;"></iframe> 


And this is for the same iframe section for our website:
 < iframe frameborder="0" scrolling="auto" src="http://oipmac-web2/Home/tabid/41/ctl/Edit/mid/648/Default.aspx?popUp=true" id="iPopUp" class="ui-dialog-content ui-widget-content" style="width: 939px; min-height: 271px; max-height: 801px; height: 539px;"></iframe> 


Ours has a min-height of 271px and DNN has a min-height of 435px.
If I change ours to have min-height = 435px, the editor shows nicely same as the default DNN site.

The problem is that I cannot find which file contains this code. I was searching the whole folder structure by content and can't find "min-height: 271px" in any file.

Can someone tell me how I can fix this?

Thanks a lot,
Steven
Joseph Craig
DNN MVP
Posts:11667


--
12/14/2014 4:17 PM  
Take a look at the Host, HTML Editor Manager page.

Joe Craig, Patapsco Research Group
Complete DNN Support
SCMAO
Nuke Ace
Nuke Ace
Posts:56


--
12/24/2014 9:23 AM  
Thanks Joseph,

I checked Host, HTML Editor Manager page, and it was showing "TelerikEditorProvider".
I have changed it to DotNetNuke.RadEditorProvider, but when I edit a content page, it still shows the edit window with the same small height, just the toolbar inside is different now.

I noticed when I changed back to "TelerikEditorProvider", I this message was showing on the right:
"RadEditorProvider is not default html editor provider now, any changes will not apply to current editor provider. If you want to make configuration take effect please update default provider to 'DotNetNuke.RadEditorProvider' in left drop down list"
I see that there are lots of settings under Default Configuration, and a level below called Everyone. I guess it refers to those settings that only affect the DNN RadEditorProvider.

So it doesn't matter which editor I use, the container window is very small. Is there a way to fix this?

Thanks,
Steven
Joseph Craig
DNN MVP
Posts:11667


--
12/25/2014 12:46 PM  
If you use the DNN Editor, there is a setting (Host, HTML Editor Manager) that lets you change the default size.

There is also a control in the editor's toolbar that lets you take the edit window to full screen size.

Usually, I turn off the popups (I find them sometimes annoying and other times ill-behaved) and also use the full screen version of the editor.

Joe Craig, Patapsco Research Group
Complete DNN Support
SCMAO
Nuke Ace
Nuke Ace
Posts:56


--
01/08/2015 2:06 PM  
Hi Joseph,

> If you use the DNN Editor, there is a setting (Host, HTML Editor Manager) that lets you change the default size.
Which setting is that controls the height of the editor window?
There is a tree menu on the left with parent called "Default Configuration", and under that is "Everyone". There seem to be the same set of settings when you click on either one.
The "Default Configuration" doesn't seem to allow changes, when I go over the Update button, the mouse changes to a stop sign.
Under Everyone, I found Height and Width fields, but they are greyed out. It seems like you can still change them by clicking up or down (changes only 1-by-1, you need to click 100 times to change by 100 pixels). I was able to save the value anyway, but it doesn't have any effect over the height of the edit window.

> There is also a control in the editor's toolbar that lets you take the edit window to full screen size.
I found the "Toggle Full Screen Mode" icon in the toolbar, but it still stays within the popup window, which keeps the same size, only the content inside changes, the upper part of the toolbar disappears where it shows "Basic Text Box" and "Rich Text Editor", but it adds some status bar on the bottom, so you end up with the same usable space for editing.

> Usually, I turn off the popups (I find them sometimes annoying and other times ill-behaved) and also use the full screen version of the editor.
Where can you turn off the popups?

Thank you,
Steven
Joseph Craig
DNN MVP
Posts:11667


--
01/08/2015 4:00 PM  
You can turn off popups in Site Settings, Usability Settings.

Joe Craig, Patapsco Research Group
Complete DNN Support


---