If all you need to change is a template file, you can just edit the template file stored in build/public/templates in the static:app.load hook. Since templates are compiled on demand, this will work as long as ./nodebb build is run afterwards.
Unsolved Expose custom fields to be used in templates
-
Hello everyone!
I've added a few custom fields using
filter:user.custom_fields
hook.
How can I expose custom fields to be used in templates?Any response is highly appreciated.
-
Which template file exactly? You'll probably have to look into one of the hooks to add data to that page:
-
For example, I would like to replace username on topic, like shown on the screenshot: