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

Urls in RAD Editor lite

3 Answers 63 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
nira
Top achievements
Rank 1
nira asked on 16 Sep 2010, 12:03 PM

We have Rad editor lite for MOSS 2007 and use the RadHtmlField control in the publishing layouts to render the RichHtml fields. When we place a picture or a link into the field in edit mode using absolute path within sharepoint sites and then publish the page. All urls are converted to relative url. Unfortunately deactivating/reactivating   StripAbsoluteAnchorPaths  and StripAbsoluteImagesPaths  only works in edit mode. Urls  became relative after the page is published.
We want to keep urls the same way we've entered them in edit mode. 

Please advise.
Thank you!!

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 21 Sep 2010, 08:05 AM
Hello Nira,

In the lite version of RadEditor for MOSS StripAbsoluteAnchorPaths  and StripAbsoluteImagesPaths are the properties, which configure the URL behavior of the control. Could you confirm that while toggling between Design and Html mode of RadEditor the relative links remain the same. If this is the case unfortunately, this seems to be yet another problem, caused by the MOSS content filter. When you submit the page, MOSS will validate it and automatically make changes if the content is not valid. You can verify this by trying to enter the same content with the original SharePoint rich text editor.

We have not been able to find a workaround for this behavior yet.


All the best,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bill
Top achievements
Rank 1
answered on 11 Apr 2011, 06:09 PM
I really hate restarting an older thread, hoverver, my search of the Forum has not satisfied my current need.

Like most folks I jumped at the opportunity to use a Telerik tool! For Free!! What!!!

So, I downloaded the Telerik Editor Lite for MOSS 2007. The install and activation was flawless. The resulting ability to more dynamically add links and images to list items, OUTSTANDING!

It wasn't until we wrote a workflow to email list items to folks as a form of an alert procedure, did we notice that the images and links don't work in the email. When the workflow runs and the email is delivered, the http://domainname is stripped.

The ListConfigFile.xml looked like this (OOTB):

<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
 Config File valid structure:
 <configuration>
    <property>...</property>
    ...
  <property>
   <item>...</item>
   <item>...</item>
   ...
  </property>
  ...
 </configuration>
=============================================================================================== -->
<configuration>
  <property name="ConvertToXhtml">true</property>
  <property name="EnableDocking">False</property>
  <property name="ShowPreviewMode">False</property>
  <property name="StripAbsoluteAnchorPaths">False</property>
  <property name="StripAbsoluteImagesPaths">False</property>
  <property name="Height">240px</property>
  <property name="Width">500px</property>
  <property name="Skin">Default2006</property>
</configuration>

When I look at the HTML of a list item, the full URL is in place. This still holds true after an Edit and Save.

The RadEidtor.js had the following:

_52.StripAbsoluteAnchorPaths=(true==_14);
_52.StripAbsoluteImagesPaths=(true==_15);

Not sure if the JS is relavent or not.

I've attached a snapshot of the email received.
Note: broken image link and when the link is hovered over, the bubble displays an incomplete address.

Thanks in advance.
0
Bill
Top achievements
Rank 1
answered on 11 Apr 2011, 06:24 PM
It occured to me to test a site w/o the Telerik tool activated.

I get the same result when I run a similar work flow. It's not the Telerik tool.

Sorry to trouble you. Perhaps this can help someonelse avoid a wild goose chace.

Thanks.

Work Hard! Play Harder!!
Tags
WebParts for SharePoint
Asked by
nira
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Bill
Top achievements
Rank 1
Share this question
or