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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Possible to edit the app code?

    Easy!Appointments
    2
    5
    46
    Loading More Posts
    • 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.
    • S
      shrey last edited by

      Hi.
      I need to edit a few files in the /app/code folder, to make some modifications that won't be fixed until the next release.

      (See: https://discord.com/channels/513770643947257862/513771577142280214/1077141707361091594)

      Is this possible?

      girish 1 Reply Last reply Reply Quote 0
      • Topic has been marked as a question  S shrey 
      • girish
        girish Staff @shrey last edited by

        @shrey Can you copy/paste what was said in that discord? I wasn't able to view it atleast (maybe I need to join some channel).

        But overall, editing code is not possible in the app since we deploy apps as readonly (but depends on what the change is). A workaround is to install the app into the LAMP app and there you can change code. But of course you have to manage updates yourself .

        S 1 Reply Last reply Reply Quote 0
        • S
          shrey @girish last edited by

          @girish This is the message:

          For now you can modify the application/views/emails/*.php and add your fields. Also edit the /engine/Notifications/Email.php to assign those template variables

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            I see. Is the change already committed to GitHub? Maybe we can publish the package patched with the change.

            S 1 Reply Last reply Reply Quote 0
            • S
              shrey @girish last edited by

              @girish said in Possible to edit the app code?:

              I see. Is the change already committed to GitHub? Maybe we can publish the package patched with the change.

              nope. I thinks it's going to take time.
              I'll just have to redeploy it on a Lamp stack, until then.

              1 Reply Last reply Reply Quote 0
              • Topic is now a regular thread  girish girish 
              • First post
                Last post
              Powered by NodeBB