Not seeing changes in .tpl files?



  • Hi,

    I looked through the docs, but can't seem to find an answer to what should be a simple question. I installed nodebb and it's working fine and I'm using the persona theme. I want to modify the .tpl files to add some HTML above the nodebb standard header. I feel like I found the right file(s) menu.tpl and header.tpl, but when I make a small change and refresh my browser I'm not seeing it.

    Can someone tell me what I need to do to see my changes?

    Thanks in advance!


  • Plugin & Theme Dev

    @westside you have to restart NodeBB to see tpl changes.



  • This post is deleted!


  • I was editing the wrong header.tpl file. The one I needed to be editing was within the node_modules path and in the specific theme. It works as you said @pichalite

    Thanks!


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.