{module_blogtaglist}

Description

Display all tags for specific blog

Syntax

{module_blogtaglist render="item|collection" blogId="24" rowCount="2" collection="my_custom_collection_name" 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
  • blogId - ID of the targeted blog
  • rowCount - number of rows to be generated (each tag is listed on a separate row, so if the row count is limited to 2, only the first 2 tags will be generated)
  • collection - use this if you need to access the module's Liquid output tags
  • template - this module does not support custom templates. You can use the template parameter however to supress the module's output

This module can be rendered using:

  • a generic list (this layout cannot be modified):
    module_blogtaglist_output
  • Liquid collections - here are the Liquid output tags you can use:
Liquid tag Description
{{id}} The ID of the tag
{{name}} The name of the tag
{{count}} The number of posts that have been associated with this particular tag

Examples

  • {module_blogtaglist blogId="4168" rowCount="3"} will output:
    
    <ul>
    <li> Tag 1 (1)</li>
    <li> Tag 2 (2)</li>
    <li> Tag 3 (1)</li>
    </ul>
  • {module_blogtaglist collection="collection1" blogId="24" template=""} - in this case nothing will be displayed, however the module's Liquid tags will become available in the collection1 collection.

Syntax

{module_blogtaglist,blogId,rowCount}

Parameters

  • blogId - ID of the targeted blog
  • rowCount - number of rows to be generated (each tag is listed on a separate row, so if the row count is limited to 2, only the first 2 tags will be generated)

The module outputs a generic list:

module_blogtaglist_output

Examples

{module_blogtaglist,4168,3} will output:

<ul>
<li> Tag 1 (1)</li>
<li> Tag 2 (2)</li>
<li> Tag 3 (1)</li>
</ul>