Created
October 19, 2012 13:59
-
-
Save alexstep/3918365 to your computer and use it in GitHub Desktop.
bitrix page template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Опиши тут, что это за файл! | |
* | |
*/ | |
// define('SITE_TEMPLATE_ID','main'); | |
require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php'); | |
// CModule::IncludeModule("iblock"); | |
// CModule::IncludeModule("forum"); | |
// CModule::IncludeModule("sale"); | |
// CModule::IncludeModule("advertising"); | |
// | |
$APPLICATION->SetTitle('Заголовок страницы'); | |
$APPLICATION->SetPageProperty('description', 'Описание страницы для поисковиков и соц.сетей'); | |
require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_after.php'); | |
$APPLICATION->AddChainItem('Заголовок страницы', $APPLICATION->getCurPage()); | |
?> | |
<? require($_SERVER['DOCUMENT_ROOT'] . '/bitrix/footer.php'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment