Wiki source code of Calendar Macro
Version 3.1 by Eugen Colesnicov on 2013/03/27 00:29
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | Example usage: | ||
2 | |||
3 | {{code}} | ||
4 | {{calendar classname="Blog.BlogPostClass" startfield="publishDate" editable="false" year="2009" month="5" date="1" /}} | ||
5 | |||
6 | or | ||
7 | |||
8 | {{velocity}} | ||
9 | {{calendar json="${xwiki.getDocument("Calendar.ExampleJSON").getURL("get")}" editable="false" year="2012" month="5" date="18" /}} | ||
10 | {{/velocity}} | ||
11 | {{/code}} | ||
12 | |||
13 | |||
14 | {{velocity}} | ||
15 | |||
16 | {{calendar json="${xwiki.getDocument("Calendar.ExampleJSON").getURL("get")}" editable="false" year="2012" month="5" date="18" /}} | ||
17 | |||
18 | {{calendar classname="Blog.BlogPostClass" startfield="publishDate" editable="false" year="2009" month="5" date="1" /}} | ||
19 | |||
20 | {{/velocity}} |