@keng-her Thank you. I'll back everything up and try that and report back.
Edit system template
I set up nodeBB v1.5.2 with MongoDB & Redis behind Cloudflare (just fyi).
I would like to edit the existing template
For this I tried editing the
build/public/templates/account/edit.tplbut the template is getting resetted every time reloading nodeBB.
I assume, the
builddirectory gets generated every time the system reloads.
The second attempt was to change the
src/views/account/edit.tplbut the same effect as above occured. (I also tried deleting the file
Nontheless, new files in
src/views/account/edit/custom.tplwill get applied to
Which is the correct way to edit existing templates in nodeBB?
Thanks a lot!
What I've tried (overview)
You probably want to edit
account/edit.tplfor whichever theme you're using. For instance, if you're using persona, it would be
Be aware, these changes will be overwritten whenever persona is updated. The most correct way is to create a child theme of persona and make your template changes there, but that is more complicated.
Oh! My bad that I haven't thought of this... I'll try it out.
Thanks for the fast response!
Works like a charm, thanks again!