hTaskList
This hook is similar to hHelpPage, to redirect users to a custom task list view, in which the developer can display a task list in a different way alongside filters or any other feature.
Arguments
This hook does not take any arguments.
Response
Return information by changing these properties of the response object.
| Name | Type | Description |
redirectPath |
String |
If set, the user will be redirected to this path instead of viewing the built-in task list |
JavaScript template
P.hook('hTaskList', function(response) {
// Respond to hook, for example
// response.redirectPath = ...
});