Answer the question
In order to leave comments, you need to log in
Why doesn't the component render?
friends. I'm doing a crutch, because the structure of the site is not very correct.
in general, on the page of the catalog section in the epilogue component, I set the value of the property to "3"
$APPLICATION->SetPageProperty('section_list2', 3 );
<?php function Showbreth()
{
global $APPLICATION;
ob_start();
if($APPLICATION->GetProperty('section_list2') > 2) {
//echo 'done!';
$APPLICATION->IncludeComponent(
"bitrix:breadcrumb",
"template",
Array(
"PATH" => "",
"SITE_ID" => "s1",
"START_FROM" => "0"
)
);
}
else {
}
$breth = ob_get_contents();
ob_end_clean();
return $breth;
}
?>
<?$APPLICATION->AddBufferContent("Showtest");?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question