Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > add new button in save and spell check button View modes: 
User avatar
Member
Member
yogasukma - 12/6/2013 3:16:40 AM
   
add new button in save and spell check button
hi guys,

i want to make new button command in page section in cmsdesk. seriously i dont know what its name, but i want to place it after save and spell check button, this button will validate html and css page in the document.

anyone have idea?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 12/8/2013 10:05:16 AM
   
RE:add new button in save and spell check button
Hi,

You can see the code of the toolbar with the Save and SpellCheck buttons in ~\CMSModules\Content\Controls\EditMenu.ascx file.

So you just need to add your custom buttons for validation to the definition of the control and modify the code behind according to your requirements.

Best regards,
Filip Ligac

User avatar
Member
Member
yogasukma - 12/9/2013 1:04:44 AM
   
RE:add new button in save and spell check button
is there any automatic way, i mean, not to edit 'hardcode' the core code. ?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/11/2013 11:31:35 AM
   
RE:add new button in save and spell check button
Hello,

Unfortunately no, there is no way how to add an another button without modifying the code. I'm sorry for this.

Best regards,
Martin Danko