Building settings page
Solved
Plugin Development
-
I have a fairly complex setting page (OAuth link for token, dynamically setting a select box, test button, etc) that I'd like to build.
I haven't seen much references to the front-end framework used in NodeBB (it is a custom framework, right? Not AngularJS, Backbone or anything like that). Is there a good tutorial that focuses on the settings page for a plugin or a thorough documentation for building custom pages somewhere?
Thank you in advance,
Erik
-
All right, so I'll ask specific questions. I already have my plugin running, with a menu item and a menu page.
I'll first need to:
- Add a test button that will make an ajax call to a server side endpoint (so I'll need to build a server side endpoint) - this is to test connection to a third party, based on an API key
- I'll need to make a call to a second end point to get a list of items and display it in a <select>
Any tips on how to get started with that?
Copyright © 2024 NodeBB | Contributors