Documentation Center

Creating an initial configuration for your Editor

The configuration for your Editor specifies how you extend the GUI. To get started, first create a basic, empty Editor configuration file. You can expand it later as you add custom controls and behaviors.

Procedure

  1. Access a text editor that lets you edit an XML file.
  2. Create the following empty configuration file:
    <?xml version="1.0"?>
    <Configuration 
    xmlns="http://www.sdltridion.com/2009/GUI/Configuration/Merge" 
    xmlns:cfg="http://www.sdltridion.com/2009/GUI/Configuration" 
    xmlns:ext="http://www.sdltridion.com/2009/GUI/extensions" 
    xmlns:cmenu="http://www.sdltridion.com/2009/GUI/extensions/ContextMenu"
    xmlns:edt="http://www.sdltridion.com/2009/GUI/Configuration/Merge">
    	<resources>
    		<cfg:groups />
    	</resources>
    
    	<definitionfiles />
    
    	<extensions>
    		<ext:editorextensions>
    			<ext:editorextension target="UI_TO_EXTEND">
    			<ext:editurls />
    			<ext:listdefinitions />
    			<ext:itemicons />
    			<ext:taskbars />
    			<ext:commands />
    			<ext:commandextensions />
    			<ext:contextmenus />
    			<ext:lists />
    			<ext:tabpages />
    			<ext:toolbars />
    			<ext:ribbontoolbars />
    			<ext:extendedareas />
    			<ext:optionspanels />
    		</ext:editorextension>
    	</ext:editorextensions>
    
    	<ext:dataextenders />
    
    	</extensions>
    
    	<commands />
    
    	<contextmenus />
    
    	<localization />
    
    	<settings>
    		<dependencies />
    		<defaultpage />
    		<editurls />
    		<listdefinitions />
    		<theme>
    			<path>/Themes/</path>
    		</theme>
    		<customconfiguration />
    	</settings>
    </Configuration>

    where UI_TO_EXTEND is one of the following:

    SiteEdit
    to extend the main inline editing user interface
    CME
    to extend the Content Manager Explorer user interface

    Note that you can create multiple ext:editorextension sections to extend multiple user interfaces in the same Editor.

  3. Save this file under a name with extension .config (for example, MyOrgEditor.config), and add it to your Visual Studio solution in a folder called Configuration.