hStandardChrome

This hook is called to allow a plugin to modify parts of the standard chrome.

If headerHTML is set in the response, it will take precedence over any configured in the application appearance editor.

layoutOptions is currently not available to JavaScript plugins, and should not be modified.

Arguments

This hook does not take any arguments.

Response

Return information by changing these properties of the response object.

Name Type Description
layoutOptions Object (as dictionary) Layout options
headerHTML String HTML for the page header

JavaScript template


P.hook('hStandardChrome', function(response) {
    // Respond to hook, for example
    // response.layoutOptions = ...
});