Location of MOSS editor resources

2 posts, 0 answers
  1. AlexAngas
    AlexAngas avatar
    4 posts
    Member since:
    Jun 2009

    Posted 08 Jun 2009 Link to this post

    Hello Telerik,

    I'm registering my annoyance with the unusual location of the wpresources folder used by the Rad MOSS editor. I would like to put a custom CssEditor.css file into a solution package for use with the Editor. I use WSPBuilder to create solution packages and all of my custom code exists under the 12 hive. It's frustrating to use a non-standard approach to achieve something so simple.

    Many other custom solutions also put their resources either under the 12 hive or c:\inetpub. The approach currently used by the MOSS editor is really inconvenient. Is it possible that for the next major release a more standard location could be chosen?

    Regards,
    Alex Angas.

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 08 Jun 2009 Link to this post

    Hello Alex,

    You can set the location of the custom css file in the Lite version of RadEditor for MOSS by setting the CssFiles collection in the respective ConfigFile.xml or ListConfigFile.xml (for formas scenarious such as list, wiki, blog...).
    For example add the following code:
    <property name="CssFiles"
        <item>[the location of your css file]</item> 
    </property> 

    What you should konw is that if you are using the RadEditor for MOSS 5.x the CssFiles is moved in to the respective ToolsFile.xml or ListToolsFile.xml.
    <root> 
    .... 
    <cssFiles> 
        <item name="~/ExternalCssFiles/Styles1.css" /> 
        <item name="~/ExternalCssFiles/Styles2.css" /> 
     </cssFiles> 
    ... 
    </root>  

    I hope this helps.

    Kind regards,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

Back to Top