This theme component will let you easily reuse part of a post in a reply or a new topic.
[wrap=template key="template-name"] My reusable content - [ ] task 1 - [ ] task 2 [/wrap]
Note that if user is not logged in, clicking the button will display the login modal.
key is mandatory
action="create"this will make the button open a composer to create a new topic
action="create_pm"this will make the button open a composer to create a new PM
categoryId="2"only usable with
action="create", will set the category of the opened composer
You can have special keys in your template which will get replaced:
- $week_start → date at the beginning of the week
- $week_end → date at the end of the week
- $prev_week_start → date at the start of previous week
- $prev_week_end → date at the end of previous week
Note that this will be replace by local dates.
tagsList=":heart:,foo,#bar" will show a least of checkboxes at the end of the template so people can tag their post easily.
My todo list $week_end
- task 1
- task 2