My Templates

My templates support is built right into Comet, no extension is required. It allows you to save your projects and opens up the scope of possibilities through the features. There are two ways to create a template: from the editor or from the Comet dashboard.

Features

My Templates is particularly interesting through the possibilities. Whether saving a project from the editor or creating a template from the Comet dashboard, the editing mode is the same. The templates are not publicly queryable, it means that they will never be performed on the front end except if you want to insert them in your projects.

My Templates includes support for:

  • Create a new template from the Comet dashboard.
  • Save a project as a template from the Comet editor. You can save a template as a new template.
  • Export a template as a JSON file. Which allows you to use template on another site.
  • Import a JSON file as a template on your site. You can share your templates this way.
  • Edit template with the Comet editor just like any project.
  • Preview template.
  • Delete template.

 

How to manage My Templates ?

Go to Comet dashboard > menu > Templates. The page list all your templates whether created, saved or imported. It’s also the only page where you can manage your templates.

Note that when you delete a template, there is no trash so no way to get it back.

 

How to export a template ?

  1. Go to Comet dashboard > menu > Templates.
  2. Search the template you want to export.
  3. Click on the Export button and give it a name.
  4. Download the JSON file.

 

How to import a template ?

  1. Go to Comet dashboard > menu > Templates.
  2. Click the Import button next to the Create new button.
  3. Select a JSON file from your computer. ( You can select several files at a time ).
  4. Wait while uploading the template.

 

How to create a template from the Comet dashboard ?

  1. Go to Comet dashboard > menu > Templates.
  2. Click the create new (+) button.
  3. Give the template a name and save.
  4. You’ll be redirected to the editing page.

How to save a template from the editor ?

 

  1. From the Comet editor, go to the general options symbolized by the “3 dots” icon, then click Save as new template:
  2. Give the template a name and  save.

 

How to insert a template ?

  1. From  the Comet editor, click on the  Templates library button at the bottom right side:
  2. Search the template you want to insert.
  3. Hover over the template to displays its options (Insert and Preview) and click Insert.