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. NodeBB
  3. NodeBB: how to update a template file?

NodeBB: how to update a template file?

Scheduled Pinned Locked Moved NodeBB
6 Posts 2 Posters 2.1k 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.
  • saikarthikS Offline
    saikarthikS Offline
    saikarthik
    wrote on last edited by
    #1

    Whats the easiest way to update a template file in the cloudron setup?
    Is there a way without publishing to npm?

    girishG 1 Reply Last reply
    0
    • girishG girish moved this topic from Support on
    • saikarthikS saikarthik

      Whats the easiest way to update a template file in the cloudron setup?
      Is there a way without publishing to npm?

      girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      @saikarthik Looks like that per https://docs.nodebb.org/development/themes/#packaging-for-nodebb . They expect themes in npm. But you might want to check in the upstream forum (https://community.nodebb.org/) to confirm.

      saikarthikS 1 Reply Last reply
      0
      • girishG girish

        @saikarthik Looks like that per https://docs.nodebb.org/development/themes/#packaging-for-nodebb . They expect themes in npm. But you might want to check in the upstream forum (https://community.nodebb.org/) to confirm.

        saikarthikS Offline
        saikarthikS Offline
        saikarthik
        wrote on last edited by
        #3

        @girish I was trying to do some testing before publishing to npm.

        Anyway, I found another plugin that enables editing templates from the admin panel on NodeBB: https://github.com/NodeBB/nodebb-plugin-customize#readme

        But it does not seem to update the template files in Cloudron. Is there a way to make this work?

        1 Reply Last reply
        0
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #4

          @saikarthik In the ACP, there is a rebuild & restart button, maybe try that?

          saikarthikS 1 Reply Last reply
          0
          • girishG girish

            @saikarthik In the ACP, there is a rebuild & restart button, maybe try that?

            saikarthikS Offline
            saikarthikS Offline
            saikarthik
            wrote on last edited by
            #5

            @girish yes, that doesn't work.

            The npm way you linked to above works, just FYI.

            1 Reply Last reply
            1
            • girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #6

              @saikarthik ah ok, thanks. I guess you have to ask upstream why it's this way.

              1 Reply Last reply
              1

              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