Answer the question
In order to leave comments, you need to log in
Where is the data for the showhead function in bitrix?
Hello dear forum users.
There is a showhead function in header.php in bitrix, so the question is where to find the file from which it takes data.
bitrix version 17
Answer the question
In order to leave comments, you need to log in
File: /bitrix/modules/main/classes/general/main.php
Lines: ~837 - ~847
Code excerpt:
public function ShowHead($bXhtmlStyle=true)
{
echo '<meta http-equiv="Content-Type" content="text/html; charset='.LANG_CHARSET.'"'.($bXhtmlStyle? ' /':'').'>'."\n";
$this->ShowMeta("robots", false, $bXhtmlStyle);
$this->ShowMeta("keywords", false, $bXhtmlStyle);
$this->ShowMeta("description", false, $bXhtmlStyle);
$this->ShowLink("canonical", null, $bXhtmlStyle);
$this->ShowCSS(true, $bXhtmlStyle);
$this->ShowHeadStrings();
$this->ShowHeadScripts();
}
Sergey , or drive in Yandex bxapi.ru/src/?module_id=main&name=CMain::ShowHead
+100 into karma for the creator of bxapi.ru
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question