ArticleDirectory
- Get started with shape Tracing)
- Shape information)
- Creating alternate templates)
- References
Orchard provides a shape tracing tool that helps you customize your orchard site. The designer tools module provides this tool, which allows you to view how each part of the website is presented. To use the shape tracing tool, you must first enable the shape tracing function in the management background. The shape tracing function is available in the designer tools module. If you have not installed it, click here to download and install this module. After this feature is installed and enabled, you can find a shape tracing functional area at the bottom of the page when you access the website page, similar to the following:
The shape tracing function area is usually collapsed. The shape tracing function area is displayed only when you click the expand button. Shape information: When the shape tracing function area is expanded, you can move the mouse to view every shape on the page. Each highlighted part is a shape. Click the highlighted part to view the shape information corresponding to this position.
The shape you selected is displayed on the left of the Shape tracing area. You can also select other shapes in the tree navigation. Some information about the selected shape is displayed on the right side of the Shape tracing area.
The following information is displayed in the shape information Pane:
- Shape: displays the name, template, and display type of the selected shape, as well as alternate templates and packages.
- Model: The data information of the selected shape.
- Placement: The placement.info file of the selected shape.
- Template: The template corresponding to the selected shapeCode.
- HTML code (HTML): displays the HTML code of the selected shape.
The creating alternate templates shape tracing tool also provides the ability to directly create an alternate template. Click "CREATE" to create an alternate template.
After clicking "CREATE", the system will copy the template currently used to the corresponding directory. You can modify this template to customize different presentations. If you use Visual Studio, You need to include the added Template into your project, which makes it easier to edit.
For more information about shapes and backups, see how orchard presents content and alternates in Orchard. Reference http://www.orchardproject.net/docs/Customizing-Orchard-using-Designer-Helper-Tools.ashx