Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Extending FCK Editor With Custom "Insert Bizform" View modes: 
User avatar
Member
Member
matthys.pienaar-gmail - 12/12/2011 3:52:34 AM
   
Extending FCK Editor With Custom "Insert Bizform"
have cloned the bizform webpart and added the OnAfterSave method to send an extra notification depending on the selected dropdown item.

I now want to add an additional "Insert BizForm" button to the FCK toolbar to allow the users to click on that and insert a bizform that has that dropdown. Currently, when I use the original “Insert BizForm” it still works perfectly as a normal bizform should but it obviously ignores my code since, which I presume, it’s not using the modified webpart.

The thing that I can’t figure out when looking at all the code for the current "Insert BizForm" button is where they specify which bizform webpart its using, if that is even the case.

Clearly I am missing something major :)

Your help would be greatly appreciated.

User avatar
Member
Member
kentico_michal - 12/12/2011 5:56:07 AM
   
RE:Extending FCK Editor With Custom "Insert Bizform"
Hello,

In that case you will need to create a custom inline control that you can insert using the Insert inline control button on the WYSIWYG editor toolbar, as the Insert BizForm button inserts the default BizForm inline control.

This custom inline control could contain the BizForm control with the OnAfterSave handler just as your custom BizForm web part does.

For more information about developing custom inline controls in Kentico CMS R2, I would like to point you to the following article: How to develop inline controls.

Best regards,
Michal Legen

User avatar
Member
Member
matthys.pienaar-gmail - 12/12/2011 6:18:37 AM
   
RE:Extending FCK Editor With Custom "Insert Bizform"
thanks, you are indeed a gentlemen and a scholar :)