I
I
IvanRobot2016-05-11 12:34:19
PHP
IvanRobot, 2016-05-11 12:34:19

How to place two versions of a layout on a page?

There are two versions of the layout for two types of users. They are very similar.
Tell me how to place two versions of the layout on one page at once?
Recorded a screencast for clarity:
https://youtu.be/qMmH4190LQg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Taran, 2016-05-11
@shambler81

Bitrix A-B testing
www.1c-bitrix.ru/products/cms/features/abtest.php
bitrix/admin/abtest_admin.php?lang=ru

D
Denis Gorokhov, 2016-05-11
@gorokhov_dv

If we are talking about the content of the component, then you need to forward the user group inside (Through an array of parameters) and configure caching and output according to this principle. (Indicate which component you are using, standard or your own.) If you need 2 different templates, then there is a built-in functionality for this in the Settings -> Sites -> Custom site settings-> At the bottom of the conditions for displaying templates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question