P
P
photosho2018-04-18 12:17:11
1C-Bitrix
photosho, 2018-04-18 12:17:11

How to use the composite pattern in a single component?

There is a page with the "bitrix:news" component and there is a separate page where you need to temporarily display one news item from the same infoblock. A separate "bitrix:news.detail" component does not allow using the "bitrix:news" component template, since it is hidden inside the "/components/bitrix/news.detail" nested component. Is it possible to somehow display a separate news using a template from the "bitrix:news" component?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question