Catalog configuration - BloomReach Experience - Open Source CMS

This article covers a Hippo CMS version 10. There's an updated version available that covers our most recent release.

12-05-2015

Catalog configuration

The catalog configuration contains all the components that are available from the Component Toolbar. These components can be dragged and dropped in a container on a page using the Channel Manager's Template Composer.

Possible configuration locations for the catalog

On the configuration model introduction page, the  hst:catalog configuration node was briefly mentioned and shown at the following repository location:

+ hst:hst
  + hst:configurations
      + example
         + hst:catalog

If the example configuration inherits from other configurations, the catalog items from the inherited configuration are also available. Also all catalog items below the  default inherited configuration ( hst:default) are available. It is even possible to define a catalog directly below hst:configurations that is available everywhere (although note that this latter location is an uncommon one), which boils down to be similar to having it below hst:default. Resuming this in one configuration as follows

+ hst:hst
  + hst:configurations
      + example
      |   - hst:inheritsfrom = ../common
      |   + hst:catalog                   [hst:catalog]
      + common
      |   + hst:catalog                   [hst:catalog]
      + hst:default
      |    + hst:catalog                  [hst:catalog]
      + hst:catalog                       [hst:catalog]      

then the example configuration has access to all catalog items available from:

  1. /hst:hst/hst:configurations/example/hst:catalog
  2. /hst:hst/hst:configurations/common/hst:catalog
  3. /hst:hst/hst:configurations/hst:default/hst:catalog
  4. /hst:hst/hst:configurations/hst:catalog

The catalog configuration itself

Below an  hst:catalog node, child nodes of type  hst:containeritempackage must be placed. Below a node of type  hst:containeritempackage the actual Component Toolbar items of type  hst:containeritemcomponent are placed. For example, the configuration below results in two available components in the Component Toolbar:  banner and search.

+ hst:hst
  + hst:configurations
      + example
      |   - hst:inheritsfrom = ../common
      |   + hst:catalog                      [hst:catalog]
      |      + example-catalog-package       [hst:containeritempackage]
      |          + banner                    [hst:containeritemcomponent]
      + hst:default
          + hst:catalog                      [hst:catalog]
             + onehippo-essentials-package   [hst:containeritempackage]
                 + search                    [hst:containeritemcomponent]

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?