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

Few problems with image manager, flash manager and document manager.

7 Answers 66 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Jeroen
Top achievements
Rank 1
Jeroen asked on 22 Apr 2009, 11:26 AM
Hi we're using the radeditor voor MOSS version 5.3.2.

And we have 2 problems with the managers.

1. We want to use libraries on the top site collection for getting images. Using the information on this site i put  ~/PublishingImages in the configfile.xml. The library name is correct but still when i open the image manager, He can't find that path.

2. In the flashfilter when I use <item>*.sw*</item> my .swf file isn't shown when I open the flashmanager, but when i use the filter <item>*.swf</item> it is shown.

<configuration> 
  <property name="EditModes">Design,Preview</property> 
  <property name="ToolbarMode">Default</property> 
  <property name="Skin">Telerik</property> 
  <property name="Width">740px</property> 
  <property name="CssFiles"
            <item>\wpresources\RadEditorSharePoint\5.3.2.0__1f131a624888eeed\Resources\CssEditor.css</item> 
  </property> 
  <property name="ImagesPaths"
         <item>PublishingImages</item> 
        <item>~/SiteCollectionImages</item> 
  </property> 
  <property name="DocumentsPaths"
   <item>Documents</item> 
  </property> 
  <property name="DocumentsFilters"
   <item>*.*</item> 
  </property> 
  <property name="FlashPaths"
   <item>/Flash Library</item> 
</property> 
<property name="FlashFilters"
   <item>*.sw*</item> 
</property> 
<property name="MaxDocumentSize">100000</property> 
  
</configuration> 
  

7 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 22 Apr 2009, 11:38 AM
Hi Jeroen,

Here is how the ImagesPaths collection works.

By default, all the libraries from the current site are included in the ImagePaths collection.

When you set path starting without slash (e.g. "ImagesLibrary"), you will refer a local library - library from the current Web. If you set path staring with slash (e.g. /ImagesLibrary), you will refer a library from the SiteCollection (root).

For example:
SiteCollection/ImagesLibrary
SiteCollection/SubSite1/ImagesLibrary

Lets  open the SubSite1 ConfigFile.xml and set the following images path:
<property name="ImagesPaths"
  <item>ImagesLibrary</item> 
</property> 

The ImageManager will load the SiteCollection/SubSite1/ImagesLibrary.

If you set the path with slash the ImageManager will open the SiteCollection/ImagesLibrary e.g.
<property name="ImagesPaths"
  <item>/ImagesLibrary</item> 
</property> 


Also you should know that if you set a library such as SiteCollection/SubSite1/ImagesLibrary, the currently logged user should have at least reading rights for all site collections of the path. Otherwise the ImagesLibrary will not appear in the ImageMangager dialogue.

I hope this helps.


Greetings,
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.
0
Jeroen
Top achievements
Rank 1
answered on 22 Apr 2009, 11:55 AM
I already know that, and that works fine, but let me explain my problem.

We have a web application for example as http://intranet.dev.com
Which contains a library named Site Collection Images

I have a site collection http://intranet.dev.com/sitecollection
Which contains a library named Site Collection Images



And a site http://intranet.dev.com/sitecollection/subsite1.
Which contains a library named Images

When i use my configfile, the last 2 (the libraries from the subsite and site collection) are added to the image manager, but I also want to add the library on the highest level. Therefore i used the ~/SiteCollectionImages.
0
Stanimir
Telerik team
answered on 24 Apr 2009, 06:41 AM
Hello Jeroen,

There is no need to use "~" in the path to SiteCollectionImages of the highest level. All you need to do is remove the "~" symbol and leave the setting to /SiteCollectionImages.


Greetings,
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.
0
Jeroen
Top achievements
Rank 1
answered on 24 Apr 2009, 06:45 AM
Yes i know, but besides going to the root of the current site collection, I also want a path to the rood of the web application
0
Stanimir
Telerik team
answered on 28 Apr 2009, 11:27 AM
Hi Jeroen,

This should point to the SiteCollectionImages which is in the root of the web application.
<property name="ImagesPaths">  
 <item>/SiteCollectionImages</item>  
</property>  



Best wishes,
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.
0
Jeroen
Top achievements
Rank 1
answered on 28 Apr 2009, 11:51 AM
Let me explain myself.

We have 1 web application which contains several site collections, each site collection contains several sites.
Every site collection has it's own images library.

http://intranet.dev.com/                               (this is a root webapplication)
http://intranet.dev.com/sites/telerik             (under the managed path sites I created a site collection named telerik)
http://intranet.dev.com/sites/telerik2           (under the managed path sites I created a site collection named telerik2)
http://intranet.dev.com/sites/telerik/jeroen      (under the telerik site collection I created a site named jeroen

A web application can contain multiple site collections, under a managed path.
Every site colection can contain multiple sites.

When I open the image manager in http://intranet.dev.com/sites/telerik/jeroen  i want to be able to access 3 image libraries:
  • The image library from the site itself (http://intranet.dev.com/sites/telerik/jeroen), I can do this with:<item>PublishingImages</item>
  • The image library from the site collection the site is in (http://intranet.dev.com/sites/telerik), I can do this with: <item>/SiteCollectionImages</item> 
  • The image library from the root of web application (http://intranet.dev.com). I don't know how I can do this.
I hope this helps you better to understand my problem.
0
Stanimir
Telerik team
answered on 29 Apr 2009, 12:20 PM
Hi Jeroen,

Unfortunately in RadEditor for MOSS you can access files only from the current site collection (this is how the content provider works). I apologize for the inconvenience but the desired functionality can not be achieved.

Best wishes,
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
Jeroen
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Jeroen
Top achievements
Rank 1
Share this question
or