A
A
ajky2016-10-12 21:44:55
1C-Bitrix
ajky, 2016-10-12 21:44:55

How to remove the frame in 1s-Bitrix with IncludeComponent?

Bitrix generates an area for editing

<div id="bx_incl_area_1">
...
</div>

inside the script and the contents of the component.
How to remove this frame? Or how to call the component so that it does not appear?
(there is an ajax request to a file that does not need these wrappers at all)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Maksimenko, 2016-10-13
@ajky

5 parameter HIDE_ICONS = Y for IncludeComponent

K
koeshiro, 2016-10-12
@koeshiro

Goodnight.
bitrix wraps IncludeComponent in this way only in edit mode. Do you want to remove it in edit mode? I wouldn't recommend doing this.
If this happens to you in other modes of the site - first check the rights of the component (just in case), then check the mode of operation of your use? Perhaps you are in edit mode?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question