I want to add a new $template value like " $this->template=='message' " ...
Please help me
1) make simple plugin
2) create layer
3) write functiom doctype with any conditions you may want to specify.
under this fuction you can set template as following.
$this->template = 'something';
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.