Hello! Can you please tell me how to correctly arrange anchor link in the template of the Beatrix component? There is a component template and it is necessary to make it on all pages of this template so that when you click on the top of the page on the "Leave a comment" icon, it will drop down on the same page down to the comments.
Put the anchor in the right place page
<a id="add_comment"></a> But I can’t figure out how to make a link so that it is correct for any page compiled using this template. I tried this option:
<a href="http://сайт.ru/articles/./../#add_comment" ><img src="../articles/peopls/knopka_share.png"></a> But with this option is the transition to the main.
So how to correctly place the link in the Bitrix template so that it acts on all the pages of articles?