Use the News Ticker macro to grab your latest breaking news from blogposts and pages and display them in a simple ticker.
Parameters
Parameter | Default | Description | |
---|---|---|---|
News Selectors | Content Types
| blogposts | Choose whether you want to display news from pages or blog posts or both. Valid values are:
|
Labels
| None | Comma-separated list of labels to search news by. Prefix labels with a + sign to indicate must-have labels or use a - sign to exclude news having a certain label. Examples:
| |
Spaces
| None - news from all spaces will be displayed | Comma-separated list of space keys to restrict searching of news. Use @self for current space. Leave blank for all spaces. | |
Search Query
| None | Search query to further refine your news search. See Confluence Search Syntax for more information. Examples:
| |
Time Frame
| None - no time limit for news | Specify how far back in time Confluence should look for news to be displayed. Example: Use 12h to display all news created or updated in the last 12 hours. Leave blank for no time limit. Available units are:
| |
Sort Order
| creationDate | Choose the order the news should be sorted. Valid values are:
| |
Filter News By Date Range
| false | This option allows you to sort the news by a specific date range. Based on the sort order you have chosen, the sort is applied. | |
Max Results
| 5 | The maximum number of news to be displayed. | |
Show Error If No News
| true | Enable to show an error message when no news was found. | |
News Cards Configuration | News Text
| title | Choose which part of the page or blog post you want to display as news text:
|
Prefix Text
| None | Optionally choose whether you want to display the space, author, creation date or last modification date before the news text. Valid values are:
| |
Enable Links
| true | Enable to link news entries to their corresponding page or blog post. | |
Open Links in the new Window
| false | Enable to open links in a new browser window, if links are enabled. | |
Ticker Configuration | Title
| false | The title of the ticker to display. |
Width
| None - responsive width will be used | Width of the ticker in pixels. Leave blank for responsive width. | |
Color
| None - topbar color of the current space will be used | Color of the ticker. Use hexadecimal notation or HTML color name. Leave blank to automatically use the topbar color of the current space. | |
Display Time
| 4sec | Slide through the slider to choose the duration (sec) you want to display each of the news entries. The duration ranges from 1 sec to 120 sec. | |
Deprecated | Reverse Order
| false | Enable for reverse sort order. |
Creating News Ticker macro
To create a News Ticker macro, perform the following steps:
Go to the page where you want to display the slides and click edit.
Click the + icon and search for the News Ticker macro.
(or) you can type { News, the list with news macro suggestions is displayed.Select News Ticker macro. The News Ticker macro is displayed.
Type the name of the space from where you pull the news and to help you the results are auto-populated. You can specify multiple space names.
Customize parameters according to your requirements. For more information, see Parameters.
Click Apply.
Publish the page.