{module_breadcrumbs}

Description

Displays the breadcrumbs for pages according to the hierarchy defined in the site Site Map (Site Settings -> Site Map)

Note: This module only works for pages. To control the hierarchy of pages see the Using the sitemap to keep your pages organized article.

Syntax

{module_breadcrumbs render="item|collection" collection="my_custom_collection_name" separator="|" template=""}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

Parameters

  • render - optional parameter, indicates whether the template content is used to render a collection or to render a single item. Take a look at the render parameter's article for more details on how to use it
  • collection - use this if you need to access the module's Liquid output tags
  • separator - the separator which will be used between the links
  • template - this module does not support custom templates. You can use the template parameter however to supress the module's output

Examples

  • {module_breadcrumbs separator="|"} - assuming the page "Childpage" is a child item of "Parentpage" this module will render this HTML code:
    
        <a href="/parentpage.htm">Parentpage</a>
        " | "
        <a href="/childpage.htm">Childpage</a>
    	

Syntax

{module_breadcrumbs, separator}

Parameters

  • separator - the separator which will be used between the links

Examples

  • {module_breadcrumbs, |} - assuming the page "Childpage" is a child item of "Parentpage" this module will render this HTML code:
    
        <a href="/parentpage.htm">Parentpage</a>
        " | "
        <a href="/childpage.htm">Childpage</a>