This is a migrated thread and some comments may be shown as answers.

Location of MOSS editor resources

1 Answer 57 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
AlexAngas
Top achievements
Rank 1
AlexAngas asked on 08 Jun 2009, 09:39 AM
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.

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 08 Jun 2009, 11:14 AM
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.
Tags
WebParts for SharePoint
Asked by
AlexAngas
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or