Snippets

Snippet is a ready-to-use template code fragment. It’s useful if you have to insert the same code multiple times and/or in multiple templates.

In snippet code, you can use dynamic content and insert other snippets .

In this section, you will learn how to work with snippets.

Creating and Removing Snippets

Describes how to create and delete snippets in your project.

Calling Snippet

Describes how to insert a snippet in template or any other snippet.

Editing Snippets

Describes how to edit snippet description and code.

Calling Snippets with Arguments

Describes how to use arguments with your snippets. See examples to understand the principles thoroughly.

Example 1 : Declare Common Header Part of the Mobile Website and Use It in Page Template

This sample shows how to add HEAD element to the pages of your mobile site.

Searching Snippets

Describes how to search snippets in Snippet Manager.

Sorting Snippets

Describes how to sort snippets in Snippet Manager.

Get the List of Templates where Specific Snippet is Used

Describes how to view the list of templates where the snippet is used.