Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  Edit a Layout
Prev Next

Layouts can be edited through the Sitecore Desktop (using the WYSIWYG editor for .html Layouts or a text editor for XML Layouts) or using Microsoft® Visual Studio .NET.  Because the WYSIWYG editor reformats code, once the Layout has been edited in Visual Studio it should no longer be edited with the WYSIWYG editor.  To edit a Layout:

  1. To edit the Layout through the Sitecore Desktop:
    1. Log in to the Sitecore Desktop on a development server as a user with appropriate permissions.
    2. Open Layout Studio.
    3. Choose File » Open » Layout (File » Open » File for XAML Layouts) and select the Layout to edit.
    4. Drag and drop Renderings, Sublayouts and/or Placeholders from the tree on the left into the Layout.
  2. To edit the Layout using Microsoft® Visual Studio .NET:
    1. Open the project in Visual Studio.
    2. Open Solution Explorer and navigate to the folder containing the Layout (usually /layouts).
    3. If the Layout is not already included in the project, right-click on it and include it in the project.
    4. Open the Layout.

Prev Next