To set comments for the paragraph on the cms 1C-Bitrix?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
Tell me how to implement the comments of paragraphs are here - https://jusnaturale.ru/osmotr-i-dosmotr/ (prntscr.com/jbv0n3, prntscr.com/jbv0qa) to 1C-Bitrix?
by | 7 views

1 Answer

0 like 0 dislike
And how are your paragraphs?
I would do it on the basis of conventional components comments based on the forum, but for this paragraph need to be in the form of a data object to have some id which could link him to the thread of comments. The most simple method "head" is to keep each paragraph separately as an element of IB, but it's terribly inconvenient. I would do so - even if the paragraph is simply a paragraph (p tag) in the html field DETAIL_TEXT element IB, then, for the client, they can assign using js id based on the id element IB and the number of abazana in the text.
Recorded this id in a data attribute-paraid and again, the js would add to elementom with the attribute data-paraid the opportunity to open popup iframe c, a usual component of the review.
Somehow, in General terms.
by

Related questions

110,608 questions
257,186 answers
0 comments
35,595 users