hNewObjectPage
This hook allows plugins to add extra HTML to the new object page. You might use this to add extra user interface for creating things implemented by your plugin, if it’s appropriate.
The hPreObjectEdit hook can also be used to modify the behaviour of the application when adding new objects.
Arguments
This hook does not take any arguments.
Response
Return information by changing these properties of the response
object.
Name | Type | Description |
htmlAfter |
String |
Append to this string to add extra HTML after the object display |
JavaScript template
P.hook('hNewObjectPage', function(response) { // Respond to hook, for example // response.htmlAfter = ... });