Documentation

ShowPanel

CMain::ShowPanel()

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

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

$APPLICATION->ShowPanel = true;

Non-static method.

Parameters

No parameters.

See Also

Examples of use

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET;?>">
<META NAME="ROBOTS" content="ALL">
<?$APPLICATION->ShowMeta("keywords")?>
<?$APPLICATION->ShowMeta("description")?>
<title><?$APPLICATION->ShowTitle()?></title>
<?$APPLICATION->ShowCSS();?>
</head>
<body link="#525252" alink="#F1555A" vlink="#939393" text="#000000">
<?$APPLICATION->ShowPanel();?>
...


© «Bitrix24», 2001-2024
Up