Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > FCKEditor editor toolbar location View modes: 
User avatar
Member
Member
seanbun-gmail - 6/5/2009 4:16:36 AM
   
FCKEditor editor toolbar location
Hi,

As far as I know, I can set the FCKEditor toolbar to "Shared" or "Inline" in the editable text webpart property.

However, I could not find this setting when I pick "HTML Format text" for the field type of a doctype. By default, it is in "Shared" location which display the toolbar at the top of the user-contribution form" web-part. Would it be possible to change the setting to "Inline"?

Cheers,
Matt

User avatar
Member
Member
seanbun-gmail - 6/9/2009 8:34:43 PM
   
RE:FCKEditor editor toolbar location
Hi,

I found a solution for my issue.

1. Open EditForm.ascx under the CMSAdminControls/UserContributions folder
2. Look for the object
<cms:CMSForm runat="server" ID="formElem" Visible="false" CssClass="UserContributionForm"
HtmlAreaToolbarLocation="Out:FCKToolbarUC" ShowOkButton="false" />


3. Removed the HtmlAreaToolbarLocation="Out:FCKToolbarUC" property

the form would now use the default property - "inline toolbar". However, I also want to know what are the possible values for this property? I could not find them in the API. Please advise.

Cheers,
matt
@seanbun

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 6/10/2009 4:56:03 AM
   
RE:FCKEditor editor toolbar location
Hi Matt,

the value for inline version of FCKEditor is:

HtmlAreaToolbarLocation="In"

Best regards,
Helena Grulichova

User avatar
Member
Member
seanbun-gmail - 6/10/2009 8:11:46 PM
   
RE:FCKEditor editor toolbar location
Hi Helena,

Thank you very much.

Cheers,
matt
@seanbun