Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > FCKEditor Document Linking Issue View modes: 
User avatar
Member
Member
Yalın - 4/2/2010 12:51:07 PM
   
FCKEditor Document Linking Issue
Steps to "possibly" reproduce:

In a multi-site environment ...

Start editing text an editabletext control on site 4
Select a chunk of text that needs to be turned into a link
Click insert link button from the FCKEditor Toolbar
Click Browse on the link control that popped up
Observe that under the Content tab, a different site is selected other than Site 4

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 4/15/2010 7:34:18 AM
   
RE:FCKEditor Document Linking Issue
Hello Yalin,

This is actually by-design behavior. There is automatically selected the site that was selected last time (this information is stored for each user).

Best Regards,

Martin Dobsicek

User avatar
Member
Member
Yalın - 4/15/2010 8:18:58 AM
   
RE:FCKEditor Document Linking Issue
How can I configure it to where it defaults to current "working" context?

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 4/29/2010 9:59:19 AM
   
RE:FCKEditor Document Linking Issue
Hello,

You can set value of CMS.CMSHelper.CMSContext.CurrentSiteName property into SiteName property in ~\CMSModules\Content\Controls\Dialogs\LinkMediaSelector\LinkMediaSelector.ascx.cs file (for content section) and \CMSModules\MediaLibrary\Controls\Dialogs\LinkMediaSelector.ascx.cs file (for media library section).

Best Regards,

Martin Dobsicek