• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • 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
v3.5.2 Latest
Buy Hosting

Trying to customize a theme

Scheduled Pinned Locked Moved NodeBB Development
4 Posts 2 Posters 375 Views
    • 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.
  • Joey WashburnJ Offline
    Joey WashburnJ Offline
    Joey Washburn
    wrote on last edited by
    #1

    This is what I have done so far

    cd /nodebb/node_modules
    mkdir nodebb-theme-nameoftheme
    git clone https://github.com/NodeBB/nodebb-theme-quickstart.git nodebb-theme-nameoftheme
    Edit package.json, plugin.json and theme.json.
    In each file replace nodebb-theme-quickstart with nodebb-theme-nameoftheme
    In theme.json change the name and description

    Activate the theme
    Rebuild and Restart

    Edit header.tpl to add some text

    <title>{browserTitle}TEST123</title>

    Save and refresh the page. No change. I am sure I missed some steps. I am documenting how I do this so I can share with the group

    1 Reply Last reply
    0
  • Joey WashburnJ Offline
    Joey WashburnJ Offline
    Joey Washburn
    wrote on last edited by
    #2

    Found my own answer.

    I had to run ./nodebb build tpl && ./nodebb dev

    Then the changes showed up

    1 Reply Last reply
    1
  • C Offline
    C Offline
    chenxu
    wrote on last edited by
    #3

    would you share the process steps in detail?As a novice, I don't know much about nodebb😢

    1 Reply Last reply
    0
  • C Offline
    C Offline
    chenxu
    wrote on last edited by
    #4

    I executed your steps and did not report any errors after restarting, but I did not find any changes. I would like to ask, if the above operation is successful, what changes should I see?🙄

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development