How to force a specific Target in a link or a document

6 posts, 0 answers
  1. Edin
    Edin avatar
    3 posts
    Member since:
    May 2008

    Posted 20 Jan 2009 Link to this post

    Hello,

    I want to "freeze" the target choice list to offer only the "New Window" option. By our policy, all the links in the rich content should open in a new window and we want to disable other options for the end users.

    Is this feasible just by configuring RADEditor for MOSS or we need to make a custom JavaScript function that strips the options down to only one?

    Thank you in advance,

    -- Edin
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 21 Jan 2009 Link to this post

    Hello Edin,

    I suggest you to modify the LinkManagerControl.ascx located in Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor\Controls folder. Find the section where _linkTargetSelector select element is located.

    I hope this helps.


    Kind regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. Edin
    Edin avatar
    3 posts
    Member since:
    May 2008

    Posted 22 Jan 2009 Link to this post

    Thank you, Stanimir

    Unfortunately I have no \wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor\Controls on the server. We have this folder instead: C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.2.2.0__1f131a624888eeed. Furthermore, in this folder we only have the Resources subfolder with the configuration files.

    -- Edin
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 23 Jan 2009 Link to this post

    Hi Edin,

    Could you please confirm that you are using RadEdtior for MOSS version 5.2.2 , so I will be able to point you to the right file?

    Thank you.


    Kind regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Edin
    Edin avatar
    3 posts
    Member since:
    May 2008

    Posted 05 Feb 2009 Link to this post

    Hi,

    Sorry for the delay, I was briefly transferred to another project.

    I can confirm that we are using RAD Editor 5.2.2 for MOSS (installed as a WSP package).

    -- Edin
  6. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 09 Feb 2009 Link to this post

    Hello Edin,

    By default, all RadEditor dialogs are embedded as resource fils in the Telerik.Web.UI.dll file, which makes their customization harder. In order to provide an easy way to modify the editor's dialogs, the RadControls installation now comes with an extra folder named EditorDialogs which contains the dialogs' ascx files. You can configure RadEditor to use the external dialog files by copying the EditorDialogs folder to the root of the web application and setting the ExternalDialogsPath property. You can get more information on the matter in the following help article http://www.telerik.com/help/aspnet-ajax/customizingimagedialog.html .

    In addition you should know that in order to set the ExternalDialogsPath property you need to modify the respective ConfigFile.xml located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.2.2.0__1f131a624888eeed\Resources folder.

    I hope this helps.



    All the best,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top