Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Dolibarr
  3. Manually change PHP templates in Docker container

Manually change PHP templates in Docker container

Scheduled Pinned Locked Moved Dolibarr
6 Posts 2 Posters 2.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    opensourced
    wrote on last edited by
    #1

    On my dolibarr instance, i would like to edit some php templates. Once i placed the app in recovery mode and made the desired changes. After running ./start.sh the changes are visible and running fine. However, when i disable the recovery state, my changes are somehow reset to the original state.

    How can i make the changes persist?
    Thanks in advance!

    girishG 1 Reply Last reply
    0
    • O opensourced

      On my dolibarr instance, i would like to edit some php templates. Once i placed the app in recovery mode and made the desired changes. After running ./start.sh the changes are visible and running fine. However, when i disable the recovery state, my changes are somehow reset to the original state.

      How can i make the changes persist?
      Thanks in advance!

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @opensourced What files are you changing?

      O 2 Replies Last reply
      0
      • girishG girish

        @opensourced What files are you changing?

        O Offline
        O Offline
        opensourced
        wrote on last edited by
        #3

        @girish one of the files i want to change is htdocs/public/members/new.php

        1 Reply Last reply
        0
        • girishG girish

          @opensourced What files are you changing?

          O Offline
          O Offline
          opensourced
          wrote on last edited by
          #4

          @girish Any news on how to accomplish that? Thanks a lot!

          girishG 1 Reply Last reply
          0
          • O opensourced

            @girish Any news on how to accomplish that? Thanks a lot!

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @opensourced I have to investigate whether those files are supposed to be writable/customizable by user or not. Do you know if those files are source code or files that are meant to be user modifiable?

            O 1 Reply Last reply
            0
            • girishG girish

              @opensourced I have to investigate whether those files are supposed to be writable/customizable by user or not. Do you know if those files are source code or files that are meant to be user modifiable?

              O Offline
              O Offline
              opensourced
              wrote on last edited by
              #6

              @girish Basically these are php files that make use of db variables and properties defined in the GUI. However, to make (in my opinion essential) customizations, I need to edit these templates. These changes however are mostly to optimize the user experience.

              For me they dont need to be editable during runtime. If i could make the changes persist in recovery mode and the restart the app with the adapted files in readonly, that would be perfect.

              Best

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search