Helix:Latest Blogs

From HelixCore

Jump to: navigation, search

The latest blogs module will display a list of recent blog entries from a selection of blog ID's, giving a link to the full blog detail, or a section URL.

Contents

Configuring the Module

To correctly use the module, you should set some parameters to define how the module works

Example:

blogs=1,2,3|limit=3|heading=Latest News|format=0|linkType=0|1=http://www.example.com/page1|2=http://www.example.com/page2|3=http://www.example.com/page3

blogs

A comma separated list of all blog ID's to use. Defaults to "1".

limit

Defines the number of recent blogs to display. Defaults to "5".

heading

An optional heading, if this is omitted then no heading will be displayed. The contents of this parameter is displayed in an H2 above the listings.

format

Defines the layout to use

  • 0 - Full Listing, default
  • 1 - Heading only, doesn't display a section title or date
  • 2 - Heading only, no H3 - as above, but doesn't use an H3 tag

linkType

Defines whether to use the blog's full news page as the URL, or the section URL (see below). 0 for Blog/News URL, 1 for section URL. Defaults to "0".

Section URLs

To define the URL to use for section pages (the "In xxx" link), or if linkType is set to 1, the URL to use for all links, you should specify the URL for each blog ID. To do this, set a parameter with the key being the Blog ID value and the value being the destination URL.

ie: 1=/page3.html

See Also

Personal tools