Skip to content

Instantly share code, notes, and snippets.

@gillissm
Created February 23, 2016 01:59
Show Gist options
  • Save gillissm/02f607ca221412427346 to your computer and use it in GitHub Desktop.
Save gillissm/02f607ca221412427346 to your computer and use it in GitHub Desktop.
Sample Sitecore command patch config file. This samples supports the custom commands to collapse and expand all feild sections in the content editor.
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:x="http://www.sitecore.net/xmlconfig/">
<sitecore>
<commands>
<command name="thecodeattic:collapseall"
type="TheCodeAttic.CustomContentEditorButtons.CollapseAllCommand, TheCodeAttic.CustomContentEditorButtons"/>
<command name="thecodeattic:expandall"
type="TheCodeAttic.CustomContentEditorButtons.ExpandAllCommand, TheCodeAttic.CustomContentEditorButtons"/>
</commands>
</sitecore>
</configuration>
<!--RENAME FROM "XML" to "CONFIG" to user.-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment