How does this code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mr2d2
    Senior Member
    • Apr 2017
    • 126

    How does this code


    Hello,

    How does this code get metadata about the type of phone?
    client\res\templates\fields\phone
    Click image for larger version

Name:	
Views:	0
Size:	62.0 KB
ID:	48734

    What does this line do?
    translateOption type scope=../../scope field=../../name
    Click image for larger version

Name:	
Views:	0
Size:	5.1 KB
ID:	48735
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    not sure but : as it is in a "each" loop, the ../ go up.
    you can look here : https://github.com/zordius/lightncandy and here http://handlebarsjs.com/
    Regards
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • mr2d2
      Senior Member
      • Apr 2017
      • 126

      #3
      Originally posted by item
      Hello,
      not sure but : as it is in a "each" loop, the ../ go up.
      you can look here : https://github.com/zordius/lightncandy and here http://handlebarsjs.com/
      Regards
      Very helpful, thanks!

      Comment

      Working...