To my knowledge (and patience to find another means), this is the only way to change the default editor height for the catalog entry editor window in the Ektron CMS400.Net workarea.
Because, if you have clients like I do, they probably don't like trying to edit entire pages of content in an itty bitty 400px high window space (in IE at least).
The fact I even have to type this up is painful enough. Let alone the fact I have to make this change at all due to poor UI/UX design drives me crazy.
To change the default (and only) height to the catalog entry edit window in the workarea, do the following:
- Open the following file in your favorite text editor: /wwwroot/Workarea/Commerce/CatalogEntry.aspx.vb
- Go to line 119
- Modify any of the contentEditor settings you wish (mine is .Height = New Unit(1000, UnitType.Pixel) in IE)
- Save the file
- Immediate relief from disgruntled clients who don't like poor UX design
Here is what my code looks like.
With contentEditor
If Request.Browser.Type = "IE6" Then
.Width = New Unit(1200, UnitType.Pixel)
.Height = New Unit(1000, UnitType.Pixel)
ElseIf Request.Browser.Type.IndexOf("Firefox") <> -1 Then
.Width = New Unit(100, UnitType.Percentage)
.Height = New Unit(1000, UnitType.Pixel)
Else
.Width = New Unit(100, UnitType.Percentage)
.Height = New Unit(1000, UnitType.Pixel)
End If
End With
With summaryEditor
If Request.Browser.Type = "IE6" Then
.Width = New Unit(1200, UnitType.Pixel)
.Height = New Unit(400, UnitType.Pixel)
ElseIf Request.Browser.Type.IndexOf("Firefox") <> -1 Then
.Width = New Unit(100, UnitType.Percentage)
.Height = New Unit(800, UnitType.Pixel)
Else
.Width = New Unit(100, UnitType.Percentage)
.Height = New Unit(500, UnitType.Pixel)
End If
End With