Probably no reason to have both. Right now my youtube plugin is well served as a "sample plugin" I guess 😛
Dynamic Templates via Settings
-
What would you recommend to achieve dynamic templating (via ACP/Plugin Settings)?
Problem:
Not every user will enjoy template that plugin provides from the box. -
You want to change the templates of other plugins or your own?
-
-
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!
Suggested Topics
-
SOLVED Building settings page
Plugin Development • • ferik
Copyright © 2020 NodeBB | Contributors