Adding New Snippets

To add a newly created snippet to a preexisting site follow these steps:

  1. Open two broswer tabs. This will make the process much easier.
  2. Open one up to the site without the snippet and the other to _clone.
  3. On both tabs, click on Content and go to the root folder if not already there.
  4. Open the _resources folder and then open the snippets folder within it.
  5. On the site without the snippet, check if the file for the desired snippet has been created. It probably hasn't. (If it has skip to step 7)
  6. Click New and then click New File. Find the snippet you want to copy over in _clone. Use the exact snippet name you see in _clone when making this new file. Create. Example: "snippet_name.html"
  7. Once it has been created open the snippet file in both tabs. Copy the source code from the file in _clone to the file in the site without snippet. Save the new file and publish.
  8. On both tabs hover over Content and click Snippets. On the left side change the view from Categories to Snippets.
  9. On _clone click on the snippet you are copying over.
  10. On the site without the snippet click New and copy the content from the snippet in _clone and Create. (Copy over Name, Category, File and Descriptions)
  11. Test to verify that the newly added snippet is working properly on the site.
©