Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
Magnolia stores all content in a magnolia
repository. The repository is further divided into workspaces.
This is a list of workspaces in the magnolia
repository.
Workspace | What it contains | How to view | Created by |
---|---|---|---|
config | Configuration for Magnolia core and all modules. | Config app | Magnolia core |
contacts | Sample contacts used in the Contacts app. | Contacts app | Contacts module |
data | Data items for Data module. | Data apps | Data module |
dam | Digital asset management system storage for images and video. | Assets app | Digital Asset Management module |
forum | Page comments and forum posts. | Forum module | |
imaging | Dynamically created images used in teasers. | Imaging module | |
MgnlSystem | System information for Magnolia internal use. | ||
MgnlVersion | Versioning information for Magnolia internal use. | ||
resources | Themes, CSS, JavaScripts and template images. | Resources module | |
scripts | Running Groovy scripts in AdminCentral. | Dev > Groovy scripts | Groovy module |
templates | Template and paragraph scripts. | Config app | In-place Templating module |
users | System, admin and public users. | Security app | Magnolia core |
userroles | User roles and ACLs. Created by Magnolia core. | Security app | Magnolia core |
usergroups | User groups. Created by Magnolia core. | Security app | Magnolia core |
website | Web pages, areas and components. | Pages app | Magnolia core |
In Magnolia we sometimes refer to a workspace as a "repository" for historical reasons. But it really is a workspace.
To add your own workspace:
repositories
section and a workspaces
section inside it.nodeTypeFile
section and provide a relative path to the XML file that defines the node types.In the example below, the Contacts app module registers a workspace named contacts
in the magnolia
repository. It also registers a custom node type which is defined in a separate XML file. This is an abbreviated snippet from the complete Contacts app module descriptor.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module SYSTEM "module.dtd"> <module> <name>contacts</name> <displayName>Contacts App</displayName> <description>Contacts App</description> <version>${project.version}</version> <dependencies> <dependency> <name>ui-admincentral</name> <version>5.1/*</version> </dependency> </dependencies> <repositories> <repository> <name>magnolia</name> <workspaces> <workspace>contacts</workspace> </workspaces> <nodeTypeFile>/mgnl-nodetypes/magnolia-contacts-nodetypes.xml</nodeTypeFile> </repository> </repositories> </module>