Adding Option to Nodes

Active member

I'd like to add a toggle option to the nodes table for use in templates in the style. The best thing would be if this appeared as a checkbox in the Admin CP options for each node. The problem is, I have no idea how to do that. It looks like some kind of template modification for the Admin Templates, but I've seen other add-ons add their own templates for stuff like this.
I've been looking around the forums to no avail. Is there a guide on how to do this? It should not be too difficult.

XenForo moderator

Adding the form fields is just one step. You can use template hooks to add the fields to the page. Then you need to extend the admin controllers to process the fields, and extend or create your own datawriter to save the fields. This addon is a good example to follow as it does all of this: