Wendy Chua
Top achievements
Rank 1
Wendy Chua
asked on 12 Jul 2008, 09:29 AM
Hi,
I am using the latest version of Telerik RAD Editor in MOSS 2007. Is there anyway to change the default document library in the file/image to other site?
For example, when inserting file/image, I want it to be defaulted to parent or a specific library. Even there is no way to go to the parent site at all from the default user interface.
I also want to do is dynamically via a code-behind or javascript, because the default libary location can be different from site to site. Whether this is possible?
Thanks
I am using the latest version of Telerik RAD Editor in MOSS 2007. Is there anyway to change the default document library in the file/image to other site?
For example, when inserting file/image, I want it to be defaulted to parent or a specific library. Even there is no way to go to the parent site at all from the default user interface.
I also want to do is dynamically via a code-behind or javascript, because the default libary location can be different from site to site. Whether this is possible?
Thanks
7 Answers, 1 is accepted
0
Wendy Chua
Top achievements
Rank 1
answered on 14 Jul 2008, 08:44 AM
*bump*
0
Hi Wendy,
If you want to use different configuration files for different webs, please review the following help article:
http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html
Note that RadEditor's Managers are designed to work with the libraries from the current site collection only. If you want to access library in another web of the current site collection, you can set the editor's ImagePaths( DocumentsPaths ...) property, in the ConfigFile.xml/ListConfigFile.xml (this depends on your scenario), to point to the desired library.
I hope this helps.
Sincerely,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
If you want to use different configuration files for different webs, please review the following help article:
http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html
Note that RadEditor's Managers are designed to work with the libraries from the current site collection only. If you want to access library in another web of the current site collection, you can set the editor's ImagePaths( DocumentsPaths ...) property, in the ConfigFile.xml/ListConfigFile.xml (this depends on your scenario), to point to the desired library.
I hope this helps.
Sincerely,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Wendy Chua
Top achievements
Rank 1
answered on 16 Jul 2008, 09:11 AM
Hi George,
I'm aware of the configuration file. But what I require is to dynamically change the paths based on which site I'm currently in. So I cannot put a static path on the configuration file.
That's why I asked whether I can change it via a server/client code?
Thanks.
I'm aware of the configuration file. But what I require is to dynamically change the paths based on which site I'm currently in. So I cannot put a static path on the configuration file.
That's why I asked whether I can change it via a server/client code?
Thanks.
0
Hi Wendy,
You can achieve the desired behavior by setting different configuration files for the different webs and in each file set the desired libraries to be accessed. For more information please review the following help article:
http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html
Currently, there is no other way to achieve the desired functionality.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can achieve the desired behavior by setting different configuration files for the different webs and in each file set the desired libraries to be accessed. For more information please review the following help article:
http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html
Currently, there is no other way to achieve the desired functionality.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Peter Livsey
Top achievements
Rank 1
answered on 23 Jul 2008, 07:55 AM
Hi
I am trying to do something similar. We have a central image library that is held in a separate site collection to our public sites.
We have separate config files for each site so we can easily set the imagepath properties for each site to be different, however it is likely that each site will use the same library.
I've tried adding a section to one of the config files to set the imagepath to our picture library like so:
<property name="ImagesPaths">
<item>http://county.durham.gov.uk/sites/CentralArea/Public%20Images/</item>
</property>
However when I click to the image manager the Image URL path displays as NOT FOUND/
How would I change the path to use the picture library?
Thanks
Peter
I am trying to do something similar. We have a central image library that is held in a separate site collection to our public sites.
We have separate config files for each site so we can easily set the imagepath properties for each site to be different, however it is likely that each site will use the same library.
I've tried adding a section to one of the config files to set the imagepath to our picture library like so:
<property name="ImagesPaths">
<item>http://county.durham.gov.uk/sites/CentralArea/Public%20Images/</item>
</property>
However when I click to the image manager the Image URL path displays as NOT FOUND/
How would I change the path to use the picture library?
Thanks
Peter
0
Hi Peter,
The Telerik's Image Manager is designed to work with the libraries from the current site collection only. If you want to access library in another web of the current site collection, you can set the editor's ImagePaths property, in the ConfigFile.xml/ListConfigFile .xml (this depends on your scenario), to point to the desired library. Note that, you access libraries from another site collection.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The Telerik's Image Manager is designed to work with the libraries from the current site collection only. If you want to access library in another web of the current site collection, you can set the editor's ImagePaths property, in the ConfigFile.xml/ListConfigFile .xml (this depends on your scenario), to point to the desired library. Note that, you access libraries from another site collection.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Plopper
Top achievements
Rank 1
answered on 30 Jul 2008, 03:56 PM
According to the documentation, the ImagesPaths property should be able to take relative paths like with the ~ sign as substitute for the current webapplication. In my WSS-only environment the ~ sign does not work (produces a 'NOT FOUND' in the Image Library). Relative paths starting with '/' do work OK.
Check - I just found a reply from George to some other article stating the same, that was mentioned above: http://www.telerik.com/community/forums/thread/b311D-bcmeak.aspx#501486. The '~' just does not work under MOSS (or WSS for that matter).
One extra tip: in case the MOSS or WSS Picture Library's name contains space characters, do not replace that with %20 in the config file 'ImagesPaths' property, just use spaces. In my case I have a 'Site Pics' Picture Library and the ImagesPaths property looks like the following:
<property name="ImagesPaths">
<item>/Site Pics</item>
</property>
Using the %20 for a space character produces the 'NOT FOUND' string in the Image Manager.
Check - I just found a reply from George to some other article stating the same, that was mentioned above: http://www.telerik.com/community/forums/thread/b311D-bcmeak.aspx#501486. The '~' just does not work under MOSS (or WSS for that matter).
One extra tip: in case the MOSS or WSS Picture Library's name contains space characters, do not replace that with %20 in the config file 'ImagesPaths' property, just use spaces. In my case I have a 'Site Pics' Picture Library and the ImagesPaths property looks like the following:
<property name="ImagesPaths">
<item>/Site Pics</item>
</property>
Using the %20 for a space character produces the 'NOT FOUND' string in the Image Manager.