How do I update my custom theme?

Moved Technical Support

Suggested Topics


  • 0 Votes
    1 Posts
    119 Views

    I noticed that custom pages no longer work. I see the following records in the error logs. I uninstalled and reinstalled the nodebb-custom-pages plugin. I've done several reboots and builds but it didn't work. Why might the problem be caused?
    my NodeBB version: 2.2.5
    custom pages version: 1.3.3

    2022-07-25T11:06:33.959Z [4567/1887] - error: GET /iletisim Error: Failed to lookup view "iletisim" in views directory "/home/nodes/nodebb/build/public/templates" at Function.render (/home/nodes/nodebb/node_modules/express/lib/application.js:597:17) at ServerResponse.render (/home/nodes/nodebb/node_modules/express/lib/response.js:1039:7) at /home/nodes/nodebb/src/middleware/render.js:107:11 at new Promise (<anonymous>) at renderContent (/home/nodes/nodebb/src/middleware/render.js:106:10) at renderMethod (/home/nodes/nodebb/src/middleware/render.js:75:15) at async ServerResponse.renderOverride [as render] (/home/nodes/nodebb/src/middleware/render.js:96:5)
  • 0 Votes
    5 Posts
    675 Views

    @yariplus Looking at the main package.json I notice that although my theme from local folder works untill something happens - and I have the problem described here - it's not listed there.

    Before deciding for Nodebb tried another app relying on composer and I had to manually add my local plugins, templates to main composer.json. I have to add my local theme to package.json the same way, here?

  • 0 Votes
    5 Posts
    3k Views

    @Nisthar said:

    @a_5mith said:

    @Nisthar said:

    some of my users are complaining that theme is not very user friendly.

    And they recommended that as a better alternative? That black on blue combination is something else.

    My recommendation would be to role with Lavender, then adjust the theme to match the dark theme you're going for. I had a lightbulb in my header that switched between dark and light on my old theme. Will do it for persona at some point. But I'm in no rush.

    I think lavender theme does not support custom skins like persona.

    Not as well, but the bootstrap custom skins are a bit flaky anyway. IMO obviously. If you want a theme you're happy with. You'll have to roll your own or get the nodebb guys to quote you for the work. There isn't a one size fits all theme unfortunately unless you know how to write CSS.

  • 0 Votes
    13 Posts
    3k Views

    @baris Oh, it really works.
    Thanks a lot for the help!

  • 0 Votes
    4 Posts
    2k Views

    Thanks a lot! 🙂