| | 1 | = Comments = |
| | 2 | |
| | 3 | A slice of type Comments will display a form to post comments inside a page and a list of comments. |
| | 4 | |
| | 5 | == Preview == |
| | 6 | |
| | 7 | Not implemented |
| | 8 | |
| | 9 | == Use == |
| | 10 | |
| | 11 | * view: '''comments_thread''' |
| | 12 | |
| | 13 | * content: '''ini''' |
| | 14 | |
| | 15 | == INI == |
| | 16 | |
| | 17 | Starts with a '''[comments]''' section and can contain the following variables (none required) |
| | 18 | |
| | 19 | * '''thread_id''' = a string specifying an unique id for the comments thread. By default this will be the page id. |
| | 20 | |
| | 21 | * '''post''' = [public|everyone|group_name] Specifies who can post a comment. Public will mean anonymous users, Everyone only registered users and by writing a group name only users of that group will be able to post. |
| | 22 | |
| | 23 | == Example == |
| | 24 | |
| | 25 | Simplest example of comments_thread is an empty content. |
| | 26 | This will display a thread of comments with public visibility for the page where the slice will be rendered. |