I’m new to Module Dev, and I’m trying to save settings for the addon (just an api key and username). I cannot figure out documentation on how to save settings for an addon. I see a lot that create their own db table for this stuff, but I’m only looking to save like 3 values. I know theres got to be an easier way, I just can’t figure it out. Any help?
I would suggest simply using an Extension for the settings. We’re doing that with a few add-ons. It makes it simple because the table already exists and EE abstracts the form creation bit as well.
http://ellislab.com/expressionengine/user-guide/development/extensions.html#settings
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.