{module_blogsitesummary}

Description

List of latest post names across all blogs (list format) or across the single blog.

Syntax

{module_blogsitesummary render="item|collection" blogId="24" rowCount="6" 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 - if you use -1, you will display the summary across the whole site. For a single blog you need to use the blog ID.
  • rowCount - limits the number of posts the module can display. Default is 5 posts.
  • 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:

  • Liquid collections - here are the Liquid output tags you can use:
Liquid tag Legacy tag Description
{{type}} The Blog type ID (56)
{{author}} {tag_blogpostauthor}Author of the post
{{body}} {tag_blogpostbody}Details of the post
{tag_blogpostbodypreview,Text}Display a preview of the first paragraph of your blog post. Replace "Text" with the relevant words to link to see the entire post.
{{date}} {tag_blogpostdate}Date of the post
{{day}} {tag_blogpostday} Day of the post
{{month}} {tag_blogpostmonth} Month of the post
{{monthNumeric}} {tag_blogpostmonthnumeric}Month part of the date the blog post was posted as a numeric value, e.g. 11-Dec-14 will render 12
{{title}} {tag_blogposttitle}The title of the post as an anchor linked to the permalink
{tag_blogposttitle_nolink}The title of the post
{{year}} {tag_blogpostyear}Year part of the date that the post was submitted, e.g. 11-Dec-14 will render as the year only, like this: 2014
{{commentsCount}} {tag_commentcount}Number of comments for current post
{tag_commentlist} List of comments associated with this post.
This list is fully customizable, take a look at the Comment list layout for the list of parameters you can use to render the comments.
For additional information on how to render the output of this tag using Liquid take a look at the Enable other Liquid tags article.
{tag_commentrank}Rank of comments associated with this post
{tag_permalink}Link for Permalink with anchor
{tag_permalinkonly}Link for Permalink without anchor
{{trackbacksCount}} {tag_trackbackcount}Number of trackbacks for current post
{{trackbackUrl}} {tag_trackbacklink}Link for trackback
{tag_trackbacklist} List of trackbacks associated with this post.
For additional information on how to render the output of this tag using Liquid take a look at the Enable other Liquid tags article.
{{id}} {tag_blogpostid} Displays the blog post's ID
{{authorPictureUrl}} {tag_blogpostauthorpictureurl} Will render the picture url (relative to site root). e.g. /images/profile.jpg
{tag_blogpostauthorpicture}Will render the full HTML image tag of the authors profile picture.
{{url}} {tag_itemurl_nolink}URL to the item being referred, without host
{tag_itemurl_withhost}URL to the item being referred, with host

Examples

  • {module_blogsitesummary blogId="9216"} will output:
    
    <ul>
        <li>Some Philosophical questions Richard Dawkins 01-Jan-2000</li>
        <li>Welcome to my Blog! Woody Mark 01-Jan-2000</li>
    </ul>
    
  • {module_blogsitesummary blogId="9216" collection="collection1" template=""} - in this case nothing will be displayed, however the module's Liquid tags will become available in the collection1 collection.

As you can see above, the module displays the post titles followed by the name of the author and the date.

Syntax

{module_blogsitesummary,ID,numberfOfPosts}

Parameters

  • ID - if you use -1, you will display the summary across the whole site. For a single blog you need to use the blog ID.
  • numberfOfPosts - limits the number of posts the module can display. Default is 5 posts.

Examples

{module_blogsitesummary,9216} will output:
  • Some Philosophical questions Richard Dawkins 01-Jan-2000
  • Welcome to my Blog! Woody Mark 01-Jan-2000

As you can see above, the module displays the post titles followed by the name of the author and the date.