[All Adaptavist Apps]
Under Consruction
The blog-calendar macro is
Excerpt |
---|
used to display a calendar view of available blogposts. |
Code Block |
---|
{blog-calendar} |
the "Ver" column shows which version of Theme Builder the parameter became available in.
Property | Required | Default | Notes | Theme Panels Only | Ver |
---|---|---|---|---|---|
space | @current | The space whose posts should be shown |
| 3.3 | |
date | @context | the month which should be shown (@context/@today/@creation/@modified/MMyyy) |
| 3.3 |
Add the {blog-calendar} macro to a page or panel where you want to display a calendar of blog posts
Code Block |
---|
{blog-calendar} |
Which gives:
This defaults to the @context date scheme which means that when you are viewing a blogpost then the creation date will be used, when you are viewing the blog archive then the relevant month will be used for the date you are viewing, and when used anywhere else the current date will be used.
To display a calendar of blog posts for the month that the currently viewed page was created
Code Block {blog-calendar:date=@creation}Similarly you can display a list of posts for the month that this page was last modifed
Code Block {blog-calendar:date=@modified}
To follow
None at present.
None at present.