September-6-2011
Filed Under (Mailservices with Debian Linux) by martensson

If you want (F) CKeditor , I used in this case CKEditor for SharePoint 2010,  to make the (hyper) links automatically open in a new window (_blank), then you can achieve this by following the next steps:

1. Open, serverside, the location where CK Editor is installed
For CKeditor for SharePoint 2010 this is <<DRIVE>>:\<<PROGRAM FILES FOLDER>>\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ckeditor\plugins\
2. Open the plugins/link/dialogs folder and edit the links.js file.
3. Find the default setting for the field ‘Target’ , a.k.a.
{type:’select’,id:’linkTargetType’,label:D.target,’default’:'notset’,style:’width : ……
4. Change the code to the desired targettype , in this case _blank
{type:’select’,id:’linkTargetType’,label:D.target,’default’:'_blank’,style:’width : ……
5. Save and Done!

And there you have it, all links will now be opened automatically in a new window.

Ofcourse, this doesn’t work for al links (pasted links for example). An plugin handling links in general could resolve your issue there, if this is the case.

    1. Aanpassing t.b.v. Automatisch openen van links in nieuw venster

      1. Ga naar de locatie waar CK editor is geinstalleerd

      2. Open in de plugins/link/dialogs map het bestand links.js

      3. Zoek de code waarin de standaard instelling voor het veld ‘Target’ wordt gedefinieerd..

        {type:’select’,id:’linkTargetType’,label:D.target,’default’:'notset’,style:’width : ……

      4. Verander de code naar de gewenste standaard, a.k.a. _blank

        {type:’select’,id:’linkTargetType’,label:D.target,’default’:'_blank’,style:’width : ……

      5. Done!



Comments are closed.