Adding New Snippets
To add a newly created snippet to a preexisting site follow these steps:
- Open two broswer tabs. This will make the process much easier.
- Open one up to the site without the snippet and the other to _clone.
- On both tabs, click on Content and go to the root folder if not already there.
- Open the _resources folder and then open the snippets folder within it.
- 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)
- 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"
- 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.
- On both tabs hover over Content and click Snippets. On the left side change the view from Categories to Snippets.
- On _clone click on the snippet you are copying over.
- 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)
- Test to verify that the newly added snippet is working properly on the site.