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

changning the basic wec page editor

4 Answers 166 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
nup
Top achievements
Rank 1
nup asked on 22 Mar 2007, 09:08 AM
Hi there,
I have a couple of problems that I hope you can assist me with:
1.
I would like to insert the r.a.d. editor in my master template as the default editor. I do not want the editor in a web part zone (I want it as a static element). Now if I insert the editor in the master template I am using, it does not show up, it just generates an empty table.
I have inserted other webparts in this manner in the same template without issue (a custom menu wepart for example).

2.
My second issue regards the automatic insertion of Microsofts editor when I create a new page. That page that is used to create a basic webpage is actually here: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\STS\DOCTEMP\BLANKPGS\bpstd.aspx, and I have modified it to only use the content from my master. However, the Microsoft editor is always present on a new basic web page.


Any ideas how to solve these issues would be very much appreciated
Regards
Gary Hayes

4 Answers, 1 is accepted

Sort by
0
nahrar
Top achievements
Rank 1
answered on 14 Aug 2007, 03:56 PM
I think i'm having the same problem.  Did you ever find a solution?
0
nup
Top achievements
Rank 1
answered on 15 Aug 2007, 08:34 AM
Sorry I never solved the problem. I couldn't place it outside a webpart and the customer has to erase the old editor and place the RAD editor in manually

0
Georgi Tunev
Telerik team
answered on 15 Aug 2007, 10:30 AM
Hello nahrar,

Generally speaking, if you modify the template page and replace the original editor with RadEditor for MOSS, then all newly created pages from this template should use RadEditor for MOSS. To do this, you will need to do the following:
  1. Locate the template page that you need in the file system. For example we will change the "(Article Page) Article page with body only" which can be selected from the Create Page dialog. This template is located in the Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\PublishingLayouts\PageLayouts\PageFromDocLayout.aspx file.
  2. Open this file with an editor of your choice (don't use the SharePoint Designer)
  3. Register the control in the page: <%@ Register TagPrefix="radE" Namespace="Telerik.SharePoint.FieldEditor" Assembly="RadEditorSharePoint, Version=4.3.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" %>
  4. Replace the PublishingWebControls:RichHtmlField control with the radE:RadHtmlField one
  5. Save the page and reset IIS with iisreset in the command prompt.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
nahrar
Top achievements
Rank 1
answered on 15 Aug 2007, 11:34 AM
Yes thank you. I found this in the documentation yesterday.  I'm good now.
Tags
WebParts for SharePoint
Asked by
nup
Top achievements
Rank 1
Answers by
nahrar
Top achievements
Rank 1
nup
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or