Changes to constant.js not taking effect

Last post 05-19-2009, 12:11 PM by BruceWMorgan. 4 replies.
Sort Posts: Previous Next
  •  05-18-2009, 12:59 PM 52281

    Changes to constant.js not taking effect

    The Make Template dialog won't resize to allow the dialog buttons to be visible:
     
     
     
    I changed the constant.js line for the dialog to:

    editorconstant._createtemplateDialogFeature =
    "dialogWidth:760px;dialogHeight:785px;help:no;scroll:no;status:no;resizable:1;";
     
    I have restarted the web app, cleared my browser cache, but neither the height of the dialog does not change, nor does it become resizable.
     
    I have also tried to change size and/or height of other dialogs with the same result.  None of them change.
     
    Thanks,
     
    Bruce
  •  05-18-2009, 3:01 PM 52287 in reply to 52281

    Re: Changes to constant.js not taking effect

    Bruce,
     
    Please open CuteSoft_Client\CuteEditor\Dialogs\outereditorfull.aspx and add the following code to Cute Editor configuration.
     

       <CE:EDITOR
         id="OuterEditor"
         AutoConfigure="Full"
         ShowDecreaseButton="false"
         UseStandardDialog="true"
         ShowEnlargeButton="false"
         runat="server"
         DisableItemList="print,DocumentPropertyPage,ToFullPage,FromFullPage,CssStyle,InsertTemplate"
        >
       </CE:EDITOR>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-18-2009, 9:43 PM 52300 in reply to 52287

    Re: Changes to constant.js not taking effect

    Still no luck.  I added that line, and no change.  I also was not able to change the toolbar menu using the "Autoconfiguration" property, but that may be a different post.
     
     
    Bruce
     
  •  05-19-2009, 3:13 AM 52306 in reply to 52300

    Re: Changes to constant.js not taking effect

    Hi BruceWMorgan,
     
    Try this way:
     
    1. Open file Dialog_InsertTemplate.js (CuteSoft_Client\CuteEditor\Scripts\Dialog\Dialog_InsertTemplate.js)
     
    2. Find section below:
     
    dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:0
     
    Change to:
     
    dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:1
     
    also you can change width and height
     
    3. Clean cache
     
    Regards,
     
    Ken
  •  05-19-2009, 12:11 PM 52316 in reply to 52306

    Re: Changes to constant.js not taking effect

    That fixed it.  Thanks, Ken.
View as RSS news feed in XML