R
R
ragnar_ok2019-02-08 09:10:52
1C-Bitrix
ragnar_ok, 2019-02-08 09:10:52

Why is the ShowViewContent method not working in detail.php?

Why $this->SetViewTarget()does it work in news.php of the complex news component, but not in detail.php of the complex news component? I'm trying to display content from detail.php on the section page using the ShowViewContent() method, but it doesn't work. Only if ShowViewContent() is called there (in detail.php). How to buffer what is in detail.php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2019-02-08
@jasper-blondin

>> I'm trying to display content from detail.php on the section page
detail.php is connected on the item's detail page, not on the section page.
Make sure you are using the technology correctly: https://dev.1c-bitrix.ru/api_help/main/reference/c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question