Skip to content

philbo87/SitecoreContentEditorButtonDemo

Repository files navigation

Custom Ribbon Buttons for Sitecore Content Editor

button

Prerequesites

Sitecore 9.2

Getting this demo running locally

  1. Install the Sitecore Package Sitecore Content Editor Button Demo-1.0.zip
  2. Create a publish profile in this solution to publish to your local Sitecore site
  3. Publish your changes to your local IIS website

Basic steps on accomplishing this from the ground up

  1. Write the command DemoButtonCommand.cs is a simple example.
  2. Register implementation as an available command using Sitecore Configuration z.Feature.DemoButton.config does this in this solution.
  3. Setup new Chunk in /sitecore/content/Applications/Content Editor/Ribbons/Chunks in Core DB using /sitecore/templates/System/Ribbon/Chunk template
  4. Add button as a child of newly created Chunk using template /sitecore/templates/System/Ribbon/Large Button
  5. Add Reference to the newly created Chunk to an existing Strip in the ribbon, such as /sitecore/content/Applications/Content Editor/Ribbons/Strips/Home. Reference is of type /sitecore/templates/System/Reference

About

A demo of how to create a customizable Content Editor ribbon Button for the Sitecore CMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages