Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Custom WYSIWYG toolbar of FCK editor for structured documents. View modes: 
User avatar
Member
Member
mukesh.laxkar-octalsoftware - 2/6/2012 2:41:28 AM
   
Custom WYSIWYG toolbar of FCK editor for structured documents.

Hi,

how to set custom WYSIWYG toolbar of FCK editor for structured documents. In kentico cms 5.5 R2 developer guide specified toolbar set property, but i haven't found this property now till.

thanks

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/6/2012 6:16:00 AM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hello,

Have you followed this article in our documentation? May I ask you, what do you want to achieve and could you please be more specific?

Best regards,
Jan Hermann

User avatar
Member
Member
mukesh.laxkar-octalsoftware - 2/7/2012 5:12:59 AM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hi,

I want to change WYSIWYG toolbar of FCK editor or apply custom WYSIWYG toolbar for Blog post form.

In Developer guide 5.5R2 & 6.0 define article for defing custom toolbar & specfied Toolbar set property to define custom toolbar for structured documents.But i haven't find this type property. can u tell me where i find that property
& how define custom toolbar

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/7/2012 7:22:16 AM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hello,

The property you are looking for is in the fckconfig.js file, which is located in the ~\55R2\CMSAdminControls\FCKeditor\ directory around the line 117:

FCKConfig.ToolbarSets["Default"] = [
['Source', '-', 'Preview'],
['Cut', 'Copy', 'Paste', 'PasteText', 'PasteWord', '-', 'Print'],
['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
['Bold', 'Italic', 'Underline', 'StrikeThrough', '-', 'Subscript', 'Superscript'],
['OrderedList', 'UnorderedList', '-', 'Outdent', 'Indent'/*, 'Blockquote'*/],
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull'],
['InsertLink', 'Unlink', 'Anchor'],
['InsertImageOrMedia', 'QuicklyInsertImage', 'Table', 'Rule', 'Smiley', 'SpecialChar', 'PageBreak'],
['InsertBizForms', '-', 'InsertInlineControls', '-', 'InsertPolls', '-', 'InsertRating', '-', 'InsertYouTubeVideo', '-', 'MyButton'],
'',
'/',
['Style', 'FontFormat', 'FontName', 'FontSize'],
['TextColor', 'BGColor'],
//['AutoSave'],
['FitWindow', 'ShowBlocks'] // No comma for the last row.
];


All changes you make in this property, will be applied also for the Blog post form.

Best regards,
Jan Hermann

User avatar
Member
Member
mukesh.laxkar-octalsoftware - 2/7/2012 7:34:53 AM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hi,

But i want to change WYSIWYG toolbar of FCK editor for only Blog post form not any other document. if i changes FCKConfig.ToolbarSets["Default"] properties then changes will be reflact on all structured document.

thanks

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/9/2012 6:14:39 AM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hello,

In this case, you need to create your own toolbar set, e.g.:

FCKConfig.ToolbarSets["BlogPost"] = [
['Bold', 'Italic', '-', 'InsertLink', 'InsertUrl', 'InsertImageOrMedia', 'InsertImage', 'InsertQuote', '-', 'OrderedList', 'UnorderedList', '-', 'TextColor', 'BGColor', '-', 'Smiley']
];


And fill its codename (BlogPost) into the Toolbar set property of the BlogPostSummary and the BlogPostBody fields in the Site Manager -> Development -> Document types -> Blog post -> Fields (tab).

Best regards,
Jan Hermann

User avatar
Member
Member
mukesh.laxkar-octalsoftware - 2/9/2012 11:20:41 PM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hi,

thanks for reply .Toolbar set property of the BlogPostSummary and the BlogPostBody fields of blog post document not in 5.5R2 version. it's only in 6.X version of kentico .
how can find toolbat set property for BlogPostSummary and the BlogPostBody fields in 5.5R2 version.

thanks

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/10/2012 2:16:44 AM
   
RE:Custom WYSIWYG toolbar of FCK editor for structured documents.
Hello,

Here they are:

User image

(please right-click on the image and display it in a full size to make it more readable)

Best regards,
Jan Hermann