Support forums

Live Support, Chat and HTML Editor
    
Welcome to Support forums Sign in | Join | Help Messenger
in Search

Custom config file name generates Failed to Load Menus and how to change "css class" to custom text.

Last post 05-22-2008, 6:19 PM by SavageAnne. 6 replies.
Sort Posts: Previous Next
  •  05-15-2008, 11:56 AM 40422

    Custom config file name generates Failed to Load Menus and how to change "css class" to custom text.

    Just upgraded from 5.2 to 6.0.  If I use a custom name for my config file, I get an alert "Failed to Load Menus" when the control loads.  Note that it's not the content of the file that causes the error, it's the NAME of the file that seems to be the problem. 
     
    My code was editor.AutoConfigure = "asid" and my config file was asid.config, this generated the error.
     
    After a bunch of tests I figured out that i I rename my asid.config to simple.config (or one of the other standard cofigs) and change the code match it works fine.
     
    I can certainly just name my file simple.config, but it's confusing, and I'd rather use my own name.  Can you help?
     
    Also, in 5.2 somehow I changed the default display so it didn't say "css class" but rather some custom text.  I can't figure out how to do that in 6.0 (or even how I did it in 5.2 for that matter).  Here's a link to a sample page showing the custom display text.  http://www.scientificinquiry.org/samplehelp.asp  Can you help with that as well?
  •  05-21-2008, 3:01 PM 40648 in reply to 40597

    Re: Custom config file name generates Failed to Load Menus and how to change "css class" to custom text.

    Thanks.  That did the trick.  Can you help with the second part of my question?  Here it is again ...
     
    Also, in 5.2 somehow I changed the default display so it didn't say "css class" but rather some custom text.  I can't figure out how to do that in 6.0 (or even how I did it in 5.2 for that matter).  Here's a link to a sample page showing the custom display text.  http://www.scientificinquiry.org/samplehelp.asp  Can you help with that as well?
     
    Thanks.
  •  05-21-2008, 7:13 PM 40651 in reply to 40650

    Re: Custom config file name generates Failed to Load Menus and how to change "css class" to custom text.

    Here's what I have in my config file:
     
    <item type="dropdown" name="CssClass" width="90" RenderItemBorder="true" text="[[ACASE Help Formats]]" command="CssClass" />
     
    I know it's the right config file because I changed the width to 90 and was able to see the drop down get wider, but the text doesn't change.  Any suggestions?
      
  •  05-22-2008, 6:19 PM 40686 in reply to 40683

    Re: Custom config file name generates Failed to Load Menus and how to change "css class" to custom text.

    OK, that did the trick, although the default language file was en-en not en-US.   Once I figured that out it worked fine.
View as RSS news feed in XML