Snippetdirs

flack edited this page Dec 7, 2016 · 2 revisions

Snippetdirs are used for organizing Snippets. They are based on the MgdSchema midgard_snippetdir and act like directories, containing Subsnippetdirs and/or Snippets

There is one special Snippetdir which is called /[[sitegroup-config]]/. In it, configuration options for MidCOM and [MidCOM Components](MidCOM Components) can be saved.

Snippets can be included into Page Elements or Style Elements with [[/mgd_include_snippet|mgd_include_snippet]]('path_to_snippet/snippet_name')