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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The alternative to deprecated Sitemap Module is a Solr-based Sitemap as Indicated on the Deprecations Page

As Magnolia allows Solr-based searches, we recommend using a Solr-based sitemap instead.

In addition to Step-by-Step integration Solr in Magnolia, you can use the solr_module to view the templates and use the Java class to get the Templating function to use in your sitemap ftl.

In git repository there is a module which has the necessary templates and class to generate a Sitemap based in SOLR. Module has the following contents:

  • Java class: with the templating function necessary to get all Solr Indexes
  • Decorations folder: to modify Travel Demo templates and dialogs to allow hide pages in Sitemap.
  • Templates folder: with Sitemap template to use directly in Pages App. 

Module Installation: 

This module is not located in Magnolia Nexus, but you can clone the git repository, generate the jar file and install it in your bundle. 

Usage of the module:

You need to register the templating function as shown bellow:

Create the Sitemap Page using sitemap template from the module: 

  • No labels