Skip to Content
Former Member
Jul 18, 2018 at 09:16 AM

Customize existing smartedit toolbar


Hi all,

I am trying to add additional buttons to the existing smartedit toolbars. I have generated a new extension from ysmarteditmodule, read through the generated sample files and compared those with the files in the existing cmssmartedit extension.

Without seeing smartedit, I would have thought that the sample files would add some analyze button to the existing toolbars. However, that button comes up in the toolbar of the analysis perspective it creates instead. It's adding the button to the toolbar with ID "experienceSelectorToolbar" and I cannot spot anything that would point to a certain perspective anywhere. In short, I have no clue what makes that button show up in the toolbar of the sample analysis perspective rather than the toolbar of eg. the advanced edit perspective. Not the toolbar ID it seems.

Is there even a way to add a button to the existing toolbar defined in eg. cmsmartedit, ie. a toolbar defined in a different extension? Or does it automatically scope everything to the current extension?

Thanks in advance for any help!

Cheers, Sven