Snippets

What is a snippet?

  • This allows a user to add a part or piece of the content to be displayed on pages in a faster way.
  • The snippet can be placed anywhere on the site by using Curly Bracket, ex. {snippet_xx}
  • Every snippet will link to an internal page, a PDF (or word document) or content for the full details.

Why you would use a snippet?

If you are not familiar with code or programming this is the best tool for you to use. Snippets provide a way for you to insert ready-made code into your pages using the curly bracket. A user can display a small piece of content that can be reused throughout the site. Snippet features can also be added which give a rich functionality or user experience and interface.

How to create a new Snippet

STEP-BY-STEP
  • 1
    Log in as an administrator and go to the Admin Dashboard.
    Learn how to log in here →
  • 2
    Go to Admin Dashboard > Modules > Snippets > Snippet Listing
    Snippets
  • 3
    Click Create New Snippet
    Snippets
  • 4
    Enter the title, select categories abstract and order
    • Title - the title or name of your snippet
    • Categories - select the category/categories where you want to include or group your snippet.
    • Abstract - the content of your snippet
    Snippets Effect
  • 5
    Click the Create button
    Snippets

How to edit/view details/delete a snippet

STEP-BY-STEP
  • 1
    Log in as an administrator and go to the Admin Dashboard.
    Learn how to log in here →
  • 2
    Go to Admin Dashboard > Modules > Snippets > Snippet Listing
    Snippets
  • 3
    Click the Edit/View Details/Delete icon on a snippet
    Snippets

How to add display Snippet curly bracket to page

STEP-BY-STEP
  • 1
    Log in as an administrator and go to the Admin Dashboard.
    Learn how to log in here →
  • 2
    Select a page that you want to show the snippet and click Edit
    Snippets
  • 3
    In the editor, click the Curly Bracket button to open the configuration curly brackets
    Snippets
  • 4
    Click the Configure button in the popup
    Snippets
  • 5
    Search for Snippet on the popup and click on the Snippet item in the resulting search
    Snippets
  • 6
    The configuration popup will display. Setup configuration options on the left side and review the UI (User Interface) on the right side
    • Category - select the category from the dropdown to filter the snippet
    • Snippet - select the name of the snippet you want to display
    • Enable Data Sheet - a checkbox option where the user must enter first their information or details before they can download any document on the page.
    • Template Name - select a template name from the select dropdown.
    Snippets
  • 7
    Click the Insert button to save. Click the OK button in the next popup to complete.
    Snippets
  • 8
    Click Update And Close. Then you can see the snippet on the page
    Snippets
  • 9
    Click on the snippet (has the document and enable data sheet from)
    Snippets