Hi Telerik team,
i want to use rad moss editor,
problem with content editor webpart is, it is using static urls, when i try to deploy the sharepoint site to another it's not changing the urls in the content.
so all the urls on the deployed server still pointing to the dev server,
is this problem solved by RAD editor?
can i use rad edior for this purpose.
is it only use relative urls?
thanks
Praveen.
i want to use rad moss editor,
problem with content editor webpart is, it is using static urls, when i try to deploy the sharepoint site to another it's not changing the urls in the content.
so all the urls on the deployed server still pointing to the dev server,
is this problem solved by RAD editor?
can i use rad edior for this purpose.
is it only use relative urls?
thanks
Praveen.
13 Answers, 1 is accepted
0
Hello,
You can enable relative URLs in the editor by setting the StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths editor properties to true in the configuration file.
Regards,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can enable relative URLs in the editor by setting the StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths editor properties to true in the configuration file.
Regards,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

chanti
Top achievements
Rank 1
answered on 20 Sep 2007, 06:57 AM
thanks Lini,
i will do this and let you know.
i think in ListConfigFile.xml or configFile.xml.
thanks
Praveen,
i will do this and let you know.
i think in ListConfigFile.xml or configFile.xml.
thanks
Praveen,
0
Hi Praveen,
If you have the problem in a RadEditor web part, then you need to modify ConfigFile.xml.
Sincerely yours,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
If you have the problem in a RadEditor web part, then you need to modify ConfigFile.xml.
Sincerely yours,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

chanti
Top achievements
Rank 1
answered on 26 Sep 2007, 02:39 PM
Hi Lini,
I tried as you said, but when after i ran job for copntent deployment to production server, links are still pointing to developement server.
here is my configfile.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
Config File valid structure:
<configuration>
<property>...</property>
...
<property>
<item>...</item>
<item>...</item>
...
</property>
...
</configuration>
=============================================================================================== -->
<configuration>
<property name="AllowThumbGeneration">True</property>
<property name="ConvertToXhtml">True</property>
<property name="EnableDocking">False</property>
<property name="ShowHtmlMode">True</property>
<property name="ShowPreviewMode">False</property>
<property name="StripAbsoluteAnchorPaths">True</property>
<property name="StripAbsoluteImagesPaths">True</property>
<property name="ToolbarMode">ShowOnFocus</property>
<property name="ToolsWidth">800px</property>
</configuration>
i set these properties to true. but still problem, i am using 4.3.2 version (Lite). i changed in ListConfigfile.xml also. but the functionality is not working.
i changed my content editor webparts to rad editor web parts through out my site.
please help me out.
thanks
Praveen.
I tried as you said, but when after i ran job for copntent deployment to production server, links are still pointing to developement server.
here is my configfile.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
Config File valid structure:
<configuration>
<property>...</property>
...
<property>
<item>...</item>
<item>...</item>
...
</property>
...
</configuration>
=============================================================================================== -->
<configuration>
<property name="AllowThumbGeneration">True</property>
<property name="ConvertToXhtml">True</property>
<property name="EnableDocking">False</property>
<property name="ShowHtmlMode">True</property>
<property name="ShowPreviewMode">False</property>
<property name="StripAbsoluteAnchorPaths">True</property>
<property name="StripAbsoluteImagesPaths">True</property>
<property name="ToolbarMode">ShowOnFocus</property>
<property name="ToolsWidth">800px</property>
</configuration>
i set these properties to true. but still problem, i am using 4.3.2 version (Lite). i changed in ListConfigfile.xml also. but the functionality is not working.
i changed my content editor webparts to rad editor web parts through out my site.
please help me out.
thanks
Praveen.
0
Hi Praveen,
The changes to StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths will not take effect immediately. They simply instruct the editor to output relative URLs the next time you use it. The content, which was saved with absolute URLs will remain until you open and save it after you have enabled the strip properties. We cannot apply the changes to already stored content.
Best wishes,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The changes to StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths will not take effect immediately. They simply instruct the editor to output relative URLs the next time you use it. The content, which was saved with absolute URLs will remain until you open and save it after you have enabled the strip properties. We cannot apply the changes to already stored content.
Best wishes,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

chanti
Top achievements
Rank 1
answered on 27 Sep 2007, 02:10 PM
Hi Lini,
i did as you said,
i added a new page on my site.
i changed the configFile.xml file.
i created new page and in rad editor web part added some text, some links and saved it.
and i did a deployment.
but still not working.
for testing i changed the ToolsWidth Property from 800px to 500px it's not applying. Is editor using this configuration file?
please help me out.
thanks
Praveen.
i did as you said,
i added a new page on my site.
i changed the configFile.xml file.
i created new page and in rad editor web part added some text, some links and saved it.
and i did a deployment.
but still not working.
for testing i changed the ToolsWidth Property from 800px to 500px it's not applying. Is editor using this configuration file?
please help me out.
thanks
Praveen.
0
Hello,
I am sending you a movie, which I made in our test MOSS environment. I create a page, add the editor web part (with the default config) and verify that the generated URLs are absolute. Then I change the config file and edit the web part again. This time the URLs become relative.
Examine the movie and see if I am not missing anything from your description.
Sincerely yours,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am sending you a movie, which I made in our test MOSS environment. I create a page, add the editor web part (with the default config) and verify that the generated URLs are absolute. Then I change the config file and edit the web part again. This time the URLs become relative.
Examine the movie and see if I am not missing anything from your description.
Sincerely yours,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

chanti
Top achievements
Rank 1
answered on 28 Sep 2007, 10:16 AM
first of all thanks a lot for your big help that took a video for me.
i observed that you are using the radeditor version 4.4.0.0.
is it works in 4.4.0.0 only or previous versions too?
i already mentioned that i am using 4.3.2.0 version.
thanks once again
Praveen.
i observed that you are using the radeditor version 4.4.0.0.
is it works in 4.4.0.0 only or previous versions too?
i already mentioned that i am using 4.3.2.0 version.
thanks once again
Praveen.
0
Hello Praveen,
There are no changes made in v4.4.0.0 that would affect the loading of the configuration file. To make sure that you are editing the correct ConfigFile.xml, you can change the ToolBarMode property to Default - in this layout it is hard to notice difference with the different values for the ToolsWidth property.
Greetings,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
There are no changes made in v4.4.0.0 that would affect the loading of the configuration file. To make sure that you are editing the correct ConfigFile.xml, you can change the ToolBarMode property to Default - in this layout it is hard to notice difference with the different values for the ToolsWidth property.
Greetings,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

chanti
Top achievements
Rank 1
answered on 04 Oct 2007, 05:01 PM
Hi Telerik team,
actually i was surprised, because the relative url functionality is working only in the case of site which is running on port 80. but unfortunately i didn't find it any where in the documentation.
i created lot of sites with diffrerent templates from last week. almost i did the same process installing moss radeditor, and deployed to some site like mysite:8050, mysite:8060 etc......... about 10-12 times.
i wasted lot of time due to this.
today i got doubt and created a site on port 80 [just http://mysite]. and i deployed the solution to the newly created site. when i add a link to the moss rad editor i observed relative urls in the source.......
it's really give me lot of happiness one minute. but i wasted too much time...
any way these are general problems which a new user can face.
i disappointed very much due to this from last week, now happy.
any way thanks for all the help and alllllllllll
thanks
Praveen.
actually i was surprised, because the relative url functionality is working only in the case of site which is running on port 80. but unfortunately i didn't find it any where in the documentation.
i created lot of sites with diffrerent templates from last week. almost i did the same process installing moss radeditor, and deployed to some site like mysite:8050, mysite:8060 etc......... about 10-12 times.
i wasted lot of time due to this.
today i got doubt and created a site on port 80 [just http://mysite]. and i deployed the solution to the newly created site. when i add a link to the moss rad editor i observed relative urls in the source.......
it's really give me lot of happiness one minute. but i wasted too much time...
any way these are general problems which a new user can face.
i disappointed very much due to this from last week, now happy.
any way thanks for all the help and alllllllllll
thanks
Praveen.
0
Hi Praveen,
I am glad that you have managed to resolve the issue on your own.
I have just thought of an alternative solution to your problem. In addition to setting the StripAbsoluteAnchorPaths to true, try setting the AnchorPathToStrip as well:
<property name="AnchorPathToStrip">
<item>http://mysite:8050</item>
<item>http://mysite:8060</item>
...
</property>
This way you can manually select which paths to strip and the editor will not be confused by ports, sub-sites, etc.
For more information about anchor stripping in the editor, visit the following KB article - http://www.telerik.com/support/kb/article/b454K-kbh-b454T-bme-b454c-bme.aspx
Sincerely yours,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am glad that you have managed to resolve the issue on your own.
I have just thought of an alternative solution to your problem. In addition to setting the StripAbsoluteAnchorPaths to true, try setting the AnchorPathToStrip as well:
<property name="AnchorPathToStrip">
<item>http://mysite:8050</item>
<item>http://mysite:8060</item>
...
</property>
This way you can manually select which paths to strip and the editor will not be confused by ports, sub-sites, etc.
For more information about anchor stripping in the editor, visit the following KB article - http://www.telerik.com/support/kb/article/b454K-kbh-b454T-bme-b454c-bme.aspx
Sincerely yours,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Amaro
Top achievements
Rank 1
answered on 13 Jun 2010, 01:39 PM
Hello,
I would like to know, which version of Rad Editor Do I need to have installed in my Sharepoint Server to solve this issue with the relative URL's.
Regards,
Amaro
0
Hi Amaro,
This will work in 4.x version of RadEditor for MOSS. It is based on the classic ASP.NET RadEditor. StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths properties are not available in the ASP.NET AJAX version of the control (5.x or later).
Kind regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
This will work in 4.x version of RadEditor for MOSS. It is based on the classic ASP.NET RadEditor. StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths properties are not available in the ASP.NET AJAX version of the control (5.x or later).
Kind regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.