Answer the question
In order to leave comments, you need to log in
How to correctly configure the Bitrix composite to work with a dynamic area in a component template?
Good afternoon,
I am puzzled by the question of how to correctly update dynamic data from the Bitrix component template.
The bitrix:news component has been placed.
COMPOSITE_FRAME_TYPE = AUTO
CACHE_TYPE = A
CACHE_TIME = 3600
<?$frame = $this->createFrame('timer', false)->begin();?>
<?=time()?>
<?$frame->beginStub();?>
загрузка...
<?$frame->end();?>
Answer the question
In order to leave comments, you need to log in
$staticHTMLCache = \Bitrix\Main\Data\StaticHTMLCache::getInstance();
$staticHTMLCache->disableVoting();
$APPLICATION->IncludeComponent(
"bitrix:subscribe.edit",
"",
array( ),
false
);
$staticHTMLCache->enableVoting();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question