M
M
maksplotnikoff2017-01-09 16:59:36
1C-Bitrix
maksplotnikoff, 2017-01-09 16:59:36

How not to display a component on the detail view page in Bitrix?

There is a page that displays a complex news component, and after it another news list component. When you go to the detailed view page from the complex component, both the detailed view and the news list component are displayed on the page. If I put the news list call into news.list/.default/template.php of a complex component, then I can't edit anything in the visual editor. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-01-10
@gangstarcj

1) Display a list of news in the news.php file of the complex component.
2) Clearly check through GerCurPage which page we are on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question