Custom Parameters Available As Placeholders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex@alexdraper.ca
    Junior Member
    • May 2025
    • 15

    #1

    Custom Parameters Available As Placeholders

    I want to add some parameters that an admin can change at that will be available as placeholders in emails, templates, etc..
    How can I accomplish this?

    I want them to available globally.

    For example.

    Company Name
    CRM URL
    Main Phone Number
    Company Address

    Things like that.
    They could be added in the admin section.

    Any help would be appreciated
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9592

    #2
    Use custom template helpers: https://docs.espocrm.com/development...custom-helper/

    If you need the data to be available for admin users for editing, create a custom entity to store this data. Your template helper will fetch this data and prepare for a template.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Alex@alexdraper.ca
      Junior Member
      • May 2025
      • 15

      #3
      i would prefer if these things could be accessed in admin section, can this be used n tandem with https://docs.espocrm.com/development...ig-parameters/
      ?

      Comment

      • Alex@alexdraper.ca
        Junior Member
        • May 2025
        • 15

        #4
        and thank you for the quick reply

        Comment

        • yuri
          EspoCRM product developer
          • Mar 2014
          • 9592

          #5
          Your helpers can read config parameters as well.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • Alex@alexdraper.ca
            Junior Member
            • May 2025
            • 15

            #6
            Thank you Yuri!

            Comment

            Working...