This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
adminsnippets [2019/03/13 01:02] stephan |
adminsnippets [2019/03/13 02:14] stephan |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | === CB Split - Admin Snippets === | + | === CB Split - Admin - Content > Snippets === |
Recurring html or code elements can easily be included into pages or layouts using snippets. Originally added as a place to put java script and other code that would typically break the template engine used by the pages module, but useful also in placing common recurring code in one place making it easy to edit across all pages easily. | Recurring html or code elements can easily be included into pages or layouts using snippets. Originally added as a place to put java script and other code that would typically break the template engine used by the pages module, but useful also in placing common recurring code in one place making it easy to edit across all pages easily. | ||
Line 10: | Line 10: | ||
* Quiz Code | * Quiz Code | ||
- | {{:: | + | {{:: |
**Snippets can have Logical arguments** based on post variables being present. This could be useful if you wanted to show content on a page to a specific group of people/ | **Snippets can have Logical arguments** based on post variables being present. This could be useful if you wanted to show content on a page to a specific group of people/ | ||
Line 16: | Line 16: | ||
**Marketing Pixels/ | **Marketing Pixels/ | ||
- | {{:: | + | {{:: |
**Auto-Injection** is basically telling a snippet to load on certain pages, without cluttering up that page with the snippet code. Auto-injected snippets will load as though they were the last line on the " | **Auto-Injection** is basically telling a snippet to load on certain pages, without cluttering up that page with the snippet code. Auto-injected snippets will load as though they were the last line on the " | ||
- | {{:: | + | {{:: |