{module_catalogue}

Description

Displays an individual catalogue on a web page..

Syntax

{module_catalogue render="item" catalogId="14886" rowCount="2" collection="my_custom_collection_name" template="/folder/template.tpl"}

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 - for this module this can only be item. For more information on how to use this parameter take a look at the render parameter's article for more details on how to use it
  • catalogId - system generated catalogue id (do not change)
  • rowCount - will limit the number of items per row
  • targetFrame - e.g. _blank. Specify the frame you want the item to open in
  • collection - use this if you need to access the module's Liquid output tags
  • template - render the module using a custom template. You can leave the value of the template parameter blank to suppress the original output and use Liquid output tags instead

This module can be rendered using:

  • the individual catalog layout - on this layout you can use either the legacy tags or Liquid output tags. Here is a list of all the tags you can use: Individual Catalog's reference page
  • your own custom layout - take a look at the custom templates article for more details
  • Liquid collections - here are the Liquid output tags you can use:
Liquid tag Legacy tag Description
{{id}} Catalogue's ID
{{description}} {tag_description}Catalogue description
{{expiryDate}} {tag_expirydate}Expiry date of catalogue
{{imageUrl}} {tag_image}Image for catalogue
{{name}} {tag_name}Catalogue name
{{releaseDate}} {tag_releasedate}Release date of catalogue
{{url}} The catalog's relative URL
{{urlWithHost}} The catalog's complete URL

Examples

  • {module_catalogue catalogId="591" targetFrame="_blank"} - will display a content of a single catalogue according to the Individual Catalogue Layout inside a new window
  • {module_catalogue catalogId="591" collection="collection1" template=""} - in this case nothing will be displayed, however the module's Liquid tags will become available in the collection1 collection.

Syntax

{module_catalogue,catID,targetFrame}

Parameters

  • catID - system generated catalogue id (do not change)
  • targetFrame - e.g. _blank. Specify the frame you want the item to open in

Layouts

Examples

  • {module_catalogue,591,_blank} - will display a content of a single catalogue according to the Individual Catalogue Layout inside a new window