Snippetdirs

From OpenPSA Wiki

Jump to: navigation, search

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

In MidCOM-based Hosts, there is one special Snippetdir which is called /sitegroup-config/. In it, configuration options for MidCOM and MidCOM Components can be saved.

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

Personal tools