hTrayPage
This hook allows plugins to add extra user interface to the tray page.
Arguments
This hook does not take any arguments.
Response
Return information by changing these properties of the response
object.
Name | Type | Description |
buttons |
Object (as dictionary) |
Hash of String (button name) to Array of [url_path,menu_text] for the menu |
JavaScript template
P.hook('hTrayPage', function(response) { // Respond to hook, for example // response.buttons = ... });