Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.

Page tree
Skip to end of metadata
Go to start of metadata

There are seven STK app that allow you to work with the various parts of the Standard Templating Kit. Working in these apps is fully covered in the Standard Templating Kit documentation.

Configuration

With the exception of Templates and Resources  all STK apps are installed and configured in the same way. The STK app group is only available to the superuser role. This is configured in the app launcher layout.

Site Definitions, Themes, Channels, Dialog Definitions, Template Definitions

These apps are installed by the UI Admincentral module and based on the content app framework. The apps all extend the Configuration app and are configured at Configuration > /modules/ui-admincentral/apps/stkSiteAppstkThemesApp, stkChannelsApp, stkDialogsApp and stkTemplateDefsApp.

(warning) Multisite is an EE feature. In the CE the path property in the stkSiteApp points to the standard-templating-kit module.

(warning) Magnolia 5.3+

Node nameValues

 modules

 

 ui-admincentral

 

 apps

 

 stkSiteApp

 

 subapps

 

 browser

 

 contentConnector

 

 rootPath

/modules/multisite/config/sites

 workspace

config

 extends

/modules/ui-admincentral/apps/configuration/subApps

 appClass

info.magnolia.ui.contentapp.ContentApp

 class

info.magnolia.ui.contentapp.ConfiguredContentAppDescriptor

 stkThemesApp

 

 subapps

 

 browser

 

 contentConnector

 

 rootPath

/modules/standard-templating-kit/config/themes

 workspace

config

 extends

/modules/ui-admincentral/apps/configuration/subApps

 appClass

info.magnolia.ui.contentapp.ContentApp

 class

info.magnolia.ui.contentapp.ConfiguredContentAppDescriptor

 stkChannelsApp

 

 stkDialogsApp

 

 stkTemplateDefsApp

 

(warning) Magnolia 5.2

Node nameValues

 modules

 

 ui-admincentral

 

 apps

 

 stkSiteApp

 

 subapps

 

 browser

 

 workbench

 

 path

/modules/multisite/config/sites

 workspace

config

 extends

/modules/ui-admincentral/apps/configuration/subApps

 appClass

info.magnolia.ui.contentapp.ContentApp

 class

info.magnolia.ui.contentapp.ConfiguredContentAppDescriptor

 stkThemesApp

 

 subapps

 

 browser

 

 workbench

 

 path

/modules/standard-templating-kit/config/themes

 workspace

config

 extends

/modules/ui-admincentral/apps/configuration/subApps

 appClass

info.magnolia.ui.contentapp.ContentApp

 class

info.magnolia.ui.contentapp.ConfiguredContentAppDescriptor

 stkChannelsApp

 

 stkDialogsApp

 

 stkTemplateDefsApp

 

Workspace

The apps operate on the config workspace.

Node types

The apps use the mgnl:contentnode and mgnl:content node types.

Templates

The Templates app is installed by the   In-place Templating module that allows you to edit  and load scripts directly in templates workspace. This is useful during development but only works with Freemarker scripts. If you bootstrap scripts into the templates workspace they become visible and editable in STK > Templates. All STK scripts follow this model. Once added or modified, it is necessary to select the Enable template checkbox to force Magnolia to load the template from the repository.

The Templates app is based on the content app framework so its configuration is typical of any content app. The app is configured at /modules/inplace-templating/apps/inplace-templating. Permission to access the app is limited to users assigned the templater-base role .

Node name

 modules

 inplace-templating

 apps

 inplace-templating

Workspace

The Templates app operates on the templates workspace that stores the template scripts.

Node types

The Templates app operates on mgnl:content and mgnl:folder node types.

Resources

The Resources app is installed by the Resources module that makes it possible to store and manage site resources such as cascading style sheets, JavaScript and images in the repository.

The Resources app is based on the content app framework so its configuration is typical of any content app. The app is configured at Configuration > /modules/resources/apps/inplace-templating. Permission to access the app is limited to users assigned the templater-base role .

Node name

 modules

 resources

 apps

 resources

Workspace

The Resources app operates on the resources workspace that stores the various resources.

Node types

The Resources app operates on mgnl:content and mgnl:folder node types.