@Thadeusz-Lay so are you trying to create your own plugin? meta is a NodeBB module. You have to require it from NodeBB with require.main.require('./src/meta') on the server side.
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!