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
|
|
string |
|
|
|
|
Internationalization i18n key for the title
|
Any available i18n key can be used. |
string |
|
|
|
|
Display option
|
Either the slider shows blog posts image and text side-by-side or blog posts image in full width. |
enum |
|
sidebyside |
image-text-slider, full-image-slider |
|
Width
|
Define the width of the macro. Examples: 300px or 30%. |
string |
|
|
|
|
Height of the slider
|
The height of the displayed slider and image. (In px, example: 250). |
int |
|
250 |
|
|
Content type to display
|
|
enum |
|
|
titles, excerpts |
|
Content source
|
|
enum |
|
blog |
blog, page, pageblog |
|
Time frame
|
Specify how far back to display blog posts. Example: 12h |
relativedate |
|
|
|
|
Restrict to these labels (OR)
|
Separate each label with a comma. |
string |
|
|
|
|
Must have labels (AND)
|
A list of labels, that a result must have. Separate each label with a comma. |
string |
|
|
|
|
Exclude these labels (NOT)
|
Separate each label with a comma. |
string |
|
|
|
|
Restrict to these authors
|
Separate each author with a comma or use placeholder like @self, @network, @follower, @following.. |
string |
|
|
|
|
Restrict to these 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 |
|
|
|
|
Maximum Number of blog posts
|
The maximum number of results |
int |
|
100 |
|
|
Reverse sort
|
|
boolean |
|
false |
|
|
Auto slide (display duration)
|
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 |
|
4 |
|
|
Slide duration
|
Seconds for the slide effect duration |
int |
|
1 |
|
|
Random start slide
|
Show a random selected slide of the slider, as start slide. |
boolean |
|
true |
|
|
Thumbnail - image label
|
The macro searches for an attachment with the defined label(s) and uses it as thumbnail in the listing. |
string |
|
|
|
|
Use another image as fallback
|
If no image with the correct label could be found, you can define a fallback to use another image as thumbnail. |
enum |
|
firstAttachment |
noFallback, firstAttachment, spaceLogo, spaceLogoIfCustom, firstAttachmentOrspaceLogoIfCustom |
|
Additional Lucene Query
|
This is a very advanced and powerfull parameter, which you can use for additional content selection by lucene .
|
string |
|
|
|
|
The color of the navigation arrows
|
|
string |
|
|
|
|
The color of the navigation dots
|
|
string |
|
|
|
|
The color of the textbox background
|
|
string |
|
|
|
Mobile Mode
In the mobile mode, this macros is rendered in the same way like the Blog Posts & Pages Macro.