Announcement

Collapse
No announcement yet.

.tpl files won't refresh

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

  • .tpl files won't refresh

    I'm working on a module which involves overriding a view and replacing the template it uses.

    I can get it using my new .tpl file no problem, but if I make any changes to it once its being used, those changes aren't being loaded.

    I'm rebuilding and clearing the cache from the Administration screen each time, and I've also tried manually clearing out data/cache

  • #2
    Hi,
    have you tried : https://docs.espocrm.com/administrat...-app-timestamp

    Comment


    • #3
      If you can share your code maybe we can provide more support

      Comment


      • #4
        Maybe update app timestamp: https://docs.espocrm.com/administrat...-app-timestamp

        Templates might be cached in the browser's cache. If you use ext-template repository, just use developer mode, it will disable caching.
        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


        • #5
          I got it to work by using

          Code:
          sudo php command.php rebuild --force
          and

          Code:
          sudo php command.php clear-cache

          from the command line.

          Comment


          • #6
            It's not a correct solution. Noting for anyone who read it in the future.
            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

            Working...
            X