Enterprise Theme for Confluence
Breadcrumbs

Blog Posts & Pages




This documentation covers version https://communardo.atlassian.net/wiki/plugins/servlet/confluence/placeholder/unknown-macro?name=plugin-version&locale=en_GB&version=2 of the Enterprise Theme.



Parameter


Name

Description

Type

This is a required field

Default

Values

Content source
cotentSource


enum

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

blog

blog, page, pageblog

Content type to display
content


enum

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

excerpts

titles, excerpts, entire

Date format
dateformat


enum

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

date

posted_on, date, datetime, datefull

Date Source
datesource

Choose which date should be displayed

enum

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

created

created, last_modified

Time
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 or single space.

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. For multiple labels 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 or single space.

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 a 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. Specify space categories with #category. 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 items
max

The maximum number of results

int

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

10


Pagination
usepagination

Shows a pagination, with max items on each page

boolean

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

false


Sort by
sort


enum

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


title, creation, modified

Reverse sort
reverse


boolean

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

false


Maximum number of displayed content
numWithExcerpt

The number of list entries, where the full content or the excerpt is displayed. All the following entries only show the title.

int

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



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

Max width of the image
thumbnailWidth

The maximum width of the displayed thumbnail. (In px, example: 150)

int

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


150


Max height of the image
thumbnailHeight

The maximum height of the displayed thumbnail. (In px, example: 100).

int

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

100


Number of visible labels
visibleLabelsCount


int

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

10


Show "Not found" message
showNoEntriesMessage


boolean

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

true


Internationalisation i18n Key for the "Not found" message
noEntriesMessageI18n

Any available i18n key can be used.

string

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

net.getunik.confluence.skin.core.gu-blog-posts.error.no .content.found


Show author avatar
showIconBlock


boolean

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

false


Show the name of the author
showAuthorName


boolean

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

false


Show the space
showSpace


boolean

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

true


Show the edit link
showEditLink


boolean

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

false


Show the labels
showLabels


boolean

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

false


Show the comment link
showComments


boolean

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

false


Force more link
moreLink

Show a "more..." link every time (doesnt hide the link if the complete news text is already displayed - this is default Confluence behaviour)

boolean

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

false


Background color
backgroundColor


string

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



CSS styles to apply to titles
titleCSS


string

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



Blog post CSS class
className

Define a CSS class which is added to all blog post list entries

string

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



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





Examples

Example 1

{gu-blog-posts:theme=newslist|content=excerpts|spaces=News|showIconBlock=false|showEditLink=false}
gu-blog-post1.png
gu-blog-post1.png

Example 2

{gu-blog-posts:theme=newslist|content=excerpts|spaces=News}
gu-blog-post2.png
gu-blog-post2.png

Example 3

{gu-blog-posts:theme=newslist|excludeLabels=gu-exclude|content=excerpts|spaces=News|showThumbnail=true|showIconBlock=false|showEditLink=false}
gu-blog-post3.png
gu-blog-post3.png

Example 4

{gu-blog-posts:theme=newslist|content=excerpts|spaces=News|showIconBlock=true|showEditLink=true|showThumbnail=false}
gu-blog-post4.png
gu-blog-post4.png

Mobile Mode

In the mobile mode, this macros is rendered in the same way like the  Top Stories Slider  Macro.

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