Enterprise Theme for Confluence
Breadcrumbs

Top Stories Slider

Display a slider with an image and a summary of the most recent blog posts and/or pages.

Parameter

Name

Description

Type

This is a required field

Default

Values

Title
title


string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Internationalization i18n key for the title
i18n

Any available i18n key can be used.

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Display option
display

Either the slider shows blog posts image and text side-by-side or blog posts image in full width.

enum

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

sidebyside

image-text-slider, full-image-slider

Width
width

Define the width of the macro. Examples: 300px or 30%.

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Height of the slider
sliderHeight

The height of the displayed slider and image. (In px, example: 250).

int

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

250


Content type to display
content


enum

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png


titles, excerpts

Content source
contentSource


enum

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

blog

blog, page, pageblog

Time frame
time

Specify how far back to display blog posts. Example: 12h

relativedate

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Restrict to these labels (OR)
labels

Separate each label with a comma.

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Must have labels (AND)
mustHaveLabels

A list of labels, that a result must have. Separate each label with a comma.

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Exclude these labels (NOT)
excludeLabels

Separate each label with a comma.

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Restrict to these authors
author

Separate each author with a comma or use placeholder like @self, @network, @follower, @following..

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Restrict to these spaces
spaces

These are case-sensitive. Separate each item with a comma or single space. Example: SPACEKEY, @favorite, @personal, @all. If not specified, the current space is searched.

spacekey

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Maximum Number of blog posts
max

The maximum number of results

int

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

100


Reverse sort
reverse


boolean

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

false


Auto slide (display duration)
autoSlide

Seconds before the Top Stories slides to the next entry. Enter 0 to disable auto slide. Attention: The time has to include the sliding effect duration.

int

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

4


Slide duration
duration

Seconds for the slide effect duration

int

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

1


Random start slide
randomInitSlide

Show a random selected slide of the slider, as start slide.

boolean

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

true


Thumbnail - image label
thumbnailLabel

The macro searches for an attachment with the defined label(s) and uses it as thumbnail in the listing.

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



Use another image as fallback
thumbnailType

If no image with the correct label could be found, you can define a fallback to use another image as thumbnail.

enum

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png

firstAttachment

noFallback, firstAttachment, spaceLogo, spaceLogoIfCustom, firstAttachmentOrspaceLogoIfCustom

Additional Lucene Query
luceneQuery

This is a very advanced and powerfull parameter, which you can use for additional content selection by  lucene .
This paramter supports the  Metadata Add-on  and the  User Profile Add-on  by Communardo. Please find more information and examples in our  documentation .

string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



The color of the navigation arrows
navigationArrowsColor


string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



The color of the navigation dots
navigationDotsColor


string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png



The color of the textbox background
textboxBackgroundColor


string

https://communardo.atlassian.net/wiki/s/559262338/6452/6115fb25c37f24a5c84be0cbd66bb60564dc30eb/_/images/icons/emoticons/error.png




Mobile Mode

In the mobile mode, this macros is rendered in the same way like the  Blog Posts & Pages Macro.

image2015-7-29 16:10:34.png