[All Adaptavist Apps]
Under Consruction
The blog-calendar macro isused to display a calendar view of available blogposts....
{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
{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
{blog-calendar:date=@creation}Similarly you can display a list of posts for the month that this page was last modifed
{blog-calendar:date=@modified}
To follow
None at present.
None at present.
3 Comments
Unknown User (ville.valtasaari@thl.fi)
The blog-calendar, -list and -archive macros would be just perfect if they included the labels option with boolean AND and OR. That would allow us to have blogs/news of several categories in a single space.
r. Ville
Unknown User (frank.knobloch@sportics.net)
Is there a way to include a list of spaces or all spaces like space=* or spaces=a,b,c?
Unknown User (hendry.betts@viasat.com)
Alain - is there any plan to make this configurable through the use of labels?