Widgets are only rendered on the page itself right now https://github.com/NodeBB/NodeBB/blob/master/src/middleware/render.js#L53. We would have to add support so they are rendered in renderHeader method as well. Open an issue on our github it could be a nice addition.
Dynamic Templates via Settings
What would you recommend to achieve dynamic templating (via ACP/Plugin Settings)?
Not every user will enjoy template that plugin provides from the box.
You want to change the templates of other plugins or your own?
nhl.pl last edited by
My case is to provide text-area for the user in ACP, so user for example can "change template" of rendering list item.
For example one possible solution:
- Store template markup in settings, and ask user to reload NodeBB.
- In static:load use file system instruments to rewrite template.
But I'm not happy with such solution
This post is deleted!