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

Adding Wiki Toolbar Button for Pop Up

1 Answer 54 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 29 Jun 2011, 08:43 PM
OK, excuse this question if it's a simple solution. I'm not a code monkey and have limited experience with Sharepoint development. I was tasked with adding a Wiki to my company's current Sharepoint site. Easy enough with the existing Wiki built in.

The user's of the site want to be able to insert a link into a wiki page that will open a pop up window and display some text. I know how to create a pop up with Javascript or HTML but don't know how to implement it as a toolbar button that a user can click enter some text for the displayed link and then enter the text that will be displayed in the pop up window. It looks like i should be able to do this with RadEditor Lite but I'm a little lost. If anyone can offer some help it would be appreciated.

Thank you,

Eric

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 05 Jul 2011, 07:58 AM
Hello Eric,

I am not sure what exactly is the functionality, which you are trying to achieve, but I can explain you how RadEditor for MOSS works.
1. In order to use RadEditor for MOSS to edit wiki content in SharePoint, follow the instructions in the following online help article: Using RadEditor in List Items. If you are using Light RadEditor for MOSS make sure that the first time when you enable the feature you are logged with administrator account. For more information on this matter check the chm manual which comes with this version of the control.
2. Regarding the links, by default RadEditor for MOSS uses the OOB SahrePoint LinkManager. If you want to enable the dialog provided by Telerik, you need to modify the ToolsFile.xml or ListToolsFile.xml (in your case it is the second one) files which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/[4,5].x.x.0__1f131a624888eeed/Resources/ folder. Review the following online help article: Add/Remove tools from the toolbar.
Just Replace:
<tool name="MOSSLinkManager" />
with
<tool name="LinkManager" />



Best wishes,
Stanimir
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
WebParts for SharePoint
Asked by
Eric
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or