Announcement

Collapse
No announcement yet.

Handlebars.js how to add custom helpers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Handlebars.js how to add custom helpers

    Hello,

    I need to add a custom block helper to Handlebars.js, but I can't find the file where to add it, could you please help?
    Last edited by TitasB; 09-13-2017, 09:09 PM.

  • #2
    Hello

    client/src/view-helper.js

    Comment


    • #3
      I did register a custom helper, but none of the custom helpers (including those that were already there) work in PDF templates.

      Comment


      • #4
        templates for PDF are parsed with LightnCandy

        Comment


        • #5
          From the next version will be available ifEqual and IfNotEqual helpers
          EspoCRM – Open Source CRM Application. Contribute to espocrm/espocrm development by creating an account on GitHub.

          Comment

          Working...
          X