We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Setting Settings in EE2 Add on

Development and Programming

blendimc's avatar
blendimc
150 posts
about 15 years ago
blendimc's avatar blendimc

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?

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
about 15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

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

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.