Using default snippets for managing page-independent data
=========================================================
The snippet feature of Sulu allows to create and manage reusable pieces of content.
These pieces of content cannot only be assigned to a page using the ``snippet_selection``
content type, but they can also be associated to a webspace.
To do this, Sulu allows to define **snippet areas** which then can be assigned to a
**default snippet** on the ``Default Snippets`` tab of the webspace in the administration
interface. After assigning default snippets to snippet areas via the administration
interface, Sulu provides different solutions for loading the data of the configured snippet
for a specific area and webspace.
This functionality is especially helpful to allow the content manager to managing
webspace-wide data such as social media links or contact information.
Defining possible areas for a snippet type
------------------------------------------
Each snippet template can define multiple snippet areas. All defined snippet areas will
be displayed on the ``Default Snippets`` tab of the webspace in the administration interface
and can be assigned to a snippet that uses the respective template.
.. note::
If a snippet template defines no areas, Sulu automatically creates an
area for the snippet template using the title and key of the template.
.. code-block:: xml