Bitrix Site Manager



The method ShowPanel displays the control toolbar in the public section of the site. 

This method utilizes the delay function technology allowing to add items to the toolbar after the site prologue is emitted.

If a user does not have enough permissions for at least one command of the toolbar, the toolbar hides. If the toolbar should always be displayed, add the following code to the page:

$APPLICATION->ShowPanel = true;

The following code can be used to determine whether the toolbar has been displayed (using the property PanelShowed of $APPLICATION):

if ($APPLICATION->PanelShowed) echo "Toolbar has been shown!"


No parameters.

See Also


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET;?>">
<META NAME="ROBOTS" content="ALL">
<body link="#525252" alink="#F1555A" vlink="#939393" text="#000000">