K
K
koposov_v2020-11-12 22:49:35
1C-Bitrix
koposov_v, 2020-11-12 22:49:35

How to change the map on each item?

I just started to study the backend in depth, and the task is this: When you open a link, a modal window appears and there are 3 tabs in it, and each tab has its own dynamic information, so how to make each item have its own Yandex map in this modal window? (coordinates changed)
CMS: bitirix

And in general, such a question, I studied the front for a long time and want to become a full stack developer, I studied php / database / wordpress at the university, but you yourself understand that they gave only the basics, when they gave me, it’s not easy for me task, and I don’t know at all where to get information on php / backend in general, etc. I just have to remember from experience, some methods, etc.
Does anyone have good sources, books? Thanks guys in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
C K, 2020-11-12
@koposov_v

I'm a newbie myself, but did something similar a couple of days ago. Create a property for these items in the infoblock in the required format, fill in a couple of items, then google "display infoblock property".
There seems to be something like:

<? echo $arResult['DISPLAY_PROPERTIES']['СИМВОЛЬНЫЙ_КОД_СВОЙСТВА']['DISPLAY_VALUE'];?>

Collected the card without knowing anything.
https://yadi.sk/i/YMDR65DzdCeqpA - instead of the global variable #REGION_TAG_YANDEX_MAP# which comes from my template, you substitute a property with coordinates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question