Sidebar

iTop Customization

"How to" examples
DataModel

User Interface

Automation & Ticket management

Portal Customization

🔙 Back

iPageUIExtension

deprecated api

**<del>Deprecated</del>**

If you need to include: * JS/CSS files/snippets, use {@see \iBackofficeLinkedScriptsExtension}, {@see \iBackofficeLinkedStylesheetsExtension}, etc instead * HTML (and optionally JS/CSS), use {@see \iPageUIBlockExtension} to manipulate {@see \Combodo\iTop\Application\UI\Base\UIBlock} instead

Implement this interface to add content to any iTopWebPage

There are 3 places where content can be added:

  • The north pane: (normaly empty/hidden) at the top of the page, spanning the whole width of the page
  • The south pane: (normaly empty/hidden) at the bottom of the page, spanning the whole width of the page
  • The admin banner (two tones gray background) at the left of the global search. Limited space, use it for short messages

Each of the methods of this interface is supposed to return the HTML to be inserted at the specified place and can use the passed iTopWebPage object to add javascript or CSS definitions

Tags

since 2.0
deprecated

* JS/CSS files/snippets, use {@see \iBackofficeLinkedScriptsExtension}, {@see \iBackofficeLinkedStylesheetsExtension}, etc instead

  • HTML (and optionally JS/CSS), use {@see \iPageUIBlockExtension} to manipulate {@see \Combodo\iTop\Application\UI\Base\UIBlock} instead |

API synthesis

List of the public API methods. When manipulating iPageUIExtension, You can call those methods:

Public methods

GetBannerHtml

api public

Add content to the "admin banner"
public GetBannerHtml($oPage)

Parameters

types name default description
\iTopWebPage $oPage The page to insert stuff into.

Returns

string The HTML content to add into the page

GetNorthPaneHtml

api public

Add content to the header of the page
public GetNorthPaneHtml($oPage)

Parameters

types name default description
\iTopWebPage $oPage The page to insert stuff into.

Returns

string The HTML content to add into the page

GetSouthPaneHtml

api public

public GetSouthPaneHtml($oPage)

Parameters

types name default description
\iTopWebPage $oPage The page to insert stuff into.

Returns

string The HTML content to add into the page

🔙 Back

latest/customization/api/extensions/ipageuiextension.txt · Last modified: 2024/09/10 10:25 by 127.0.0.1
Back to top
Contact us