But how do I insert my code into template? I tried:
[+folder]
%item-name%
this edits "Hits" column instead of "Name" one
Putting this into head of hfs.tpl worked for me:
<script type="text/javascript">
document.addEventListener('DOMContentLoaded',function(){
let reg1=/~img_folder"> (.*)</g;
let reg2='~img_folder"> $1 </a> [<a href="http://example.site/view-2.php?name=$1" >Info</a>]<';
document.body.innerHTML=document.body.innerHTML.replace(reg1,reg2);
let reg3=/view-2.php\?name=(.*)( \-)(.*?)">/
let reg4='view-2.php\?name=$1:$3">';
document.body.innerHTML=document.body.innerHTML.replace(reg3,reg4);
});
</script>
however it works globally, not only for folder I want.