Sidebar

iTop Customization

"How to" examples
DataModel

User Interface

Automation & Ticket management

Portal Customization

๐Ÿ”™ Back

iPageUIBlockExtension

api

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 3.0.0

Public methods

GetBannerBlock

public

Add content to the "admin banner"
public GetBannerBlock()

Parameters

none

Returns

\Combodo\iTop\Application\UI\Base\iUIBlock|null The Block to add into the page

GetFooterBlock

public

public GetFooterBlock()

Parameters

none

Returns

\Combodo\iTop\Application\UI\Base\iUIBlock|null The Block to add into the page

GetHeaderBlock

public

Add content to the header of the page
public GetHeaderBlock()

Parameters

none

Returns

\Combodo\iTop\Application\UI\Base\iUIBlock|null The Block to add into the page

๐Ÿ”™ Back

latest/customization/api/extensions/ipageuiblockextension.txt ยท Last modified: 2023/07/21 10:19 (external edit)
Back to top
Contact us