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

Linking Issue while editing page

3 Answers 103 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 1
Bryan asked on 05 Nov 2007, 05:34 PM
Hi,

We recently purchased Rad editor and have implemented it in our sharepoint farm to allow firefox and opera users to have rich text editing in the publishing pages.

All was working untill a user noticed while creating a link, he would highlight the text and hit the link button.  This brings up the standard sharepoint edit hyperlink button.  The user can browse the sharepoint pages and documents as normal, but when they hit ok, it won't copy it to the "Selected URL field.  This field will always remain blank.  Even if they type the link in manually, it won't register even after they hit ok.  This is working fine in IE however, it appears to only be an issue with firefox.

Please help.

Thanks,

Bryan

3 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 06 Nov 2007, 11:52 AM
Hello Bryan,

This appears to be an issue with the MOSS Asset picker dialog and Firefox. Since this dialog is not a part of our editor, we cannot provide a fix for it in our code. The form for the hyperlink dialog is located at \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\AssetEditHyperLink.aspx.

We suggest that you modify the editor's tools file and add the alternative Hyperlink Manager dialog - <tool name="LinkManager" />. This dialog is part of RadEditor and it works in all browsers. Unfortunately, it does not have the ability to browse the links in the current site like the original Asset Picker dialog, so you must enter the links manually. For more information on how to change the tools file, see the following documentation page - http://www.telerik.com/help/radeditormoss/Removing%20tools%20from%20the%20toolbar.html

We apologize for the inconvenience.

All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jason
Top achievements
Rank 1
answered on 01 Oct 2008, 04:49 PM
Bryan,

Since the MOSS link manager doesn't work with Firefox, I'd like to modify it and point the link button to a new page (rather than modifying the default MOSS page).  How can I change the URL for the link button press? Is that possible?

Thanks!

Jason
0
Lini
Telerik team
answered on 03 Oct 2008, 11:47 AM
Hi Jason,

You can modify the code for the MOSS Link Manager tool by editing MOSSEditorTools.js, located in the editor Resources folder: \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.2.3.0__1f131a624888eeed\Resources\. Open the file and find the line

Telerik.Web.UI.Editor.CommandList["MOSSLinkManager"] = function(commandName, editor, args)

This function is called when you click the tool in the editor toolbar. You can modify it to launch an alternative dialog (page) by replacing the last line

linkAsset.LaunchModalDialogOnElement(configObj, elemLink, true, !bInserting);

with your own implementation.

Finally, if your MOSS web farm has more than one WFE server, make sure that you update the MOSSEditorTools.js file on all web servers.

All the best,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Bryan
Top achievements
Rank 1
Answers by
Lini
Telerik team
Jason
Top achievements
Rank 1
Share this question
or