[All Adaptavist Apps]

Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

{blog-list} Macro

(warning) Under Construction

Description

The blog-list macro is used to display a list of blog posts and excerpts....

Usage

{blog-list}

Parameters

he "Ver" column shows which version of Theme Builder the parameter became available in.

Property

Required

Default

Notes

Theme Panels Only

Ver

default

(error)

singlespace

Display mode. (singlespace/multispace)

 

3.2

space

(error)

@current

The space (or list of spaces) whose posts should be listed (SPACEKEY/@all/@current/@favourite/@global/@personal) NB: the @all parameter must be used on it's own, other macro parameters may be used in a list.

 

3.0

teams

(error)

n/a

A list of team labels that can be used to filter the list of spaces

 

3.2

author

(error)

n/a

A list of authors that can be used to filter the list of blog posts

 

3.3

sort

(error)

creation

The order that the posts should be listed in (creation/modified/recent)

 

3.2

reverse

(error)

false

List the blogposts in reverse order

 

3.2

count

(error)

9

The number of posts that should be displayed.

 

3.2

start

(error)

0

Offset from the start for listing the posts.

 

3.2

dateFormat

(error)

defined by confluence settings

Format that dates should be displayed in

 

3.2

title

(error)

true

Show the Title of the blogpost.

 

3.2

linktitle

(error)

true

Link the title to the blogpost

 

3.2

excerpt

(error)

true

Display the excerpt of the blogpost (true/false/full)

 

3.2

postedby

(error)

true

Display the date that the post was created (true/false/date).

 

3.2

permalink

(error)

n/a

Text to use for posted by

 

3.2

postedByCaption

(error)

n/a

Text to use for posted by.

 

3.2

none

(error)

n/a

Text to display when no posts have been found

 

3.2

Examples

Basic Use

Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.blogmacros.ListBlogPostsMacro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.blogmacros.ListBlogPostsMacro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @2655a730; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @aa22f1c)

Display blog posts for the whole site

Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.blogmacros.ListBlogPostsMacro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.blogmacros.ListBlogPostsMacro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @2655a730; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @aa22f1c)

Display blog posts for the global spaces

Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.blogmacros.ListBlogPostsMacro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.blogmacros.ListBlogPostsMacro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @2655a730; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @aa22f1c)

Display just the blog titles

Unable to render content due to system error: java.lang.ClassCastException: class com.adaptavist.confluence.blogmacros.ListBlogPostsMacro cannot be cast to class com.atlassian.renderer.v2.macro.Macro (com.adaptavist.confluence.blogmacros.ListBlogPostsMacro is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @2655a730; com.atlassian.renderer.v2.macro.Macro is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @aa22f1c)

CSS Customisation

To follow

Hints and Tips

None at present.

Frequently Asked Questions

None at present.

  • No labels