Answers.Body: <p>Take a loot at the <strong>prepSettings()</strong> function of your plugin.</p>
  
  <p><a href="http://buildwithcraft.com/docs/plugins/plugin-settings" rel="nofollow">http://buildwithcraft.com/docs/plugins/plugin-settings</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-02T15:32:21.650Z
Answers.LastActivityDate: 2015-02-02T15:32:21.650Z
Answers.UserDisplayName: naboovalley
Body: <p>I'm attempting to create a plugin that is going to create some basic fields/sections as a post-installation setup. I don't really want to create a full-blown CP entry so is there any way of just doing stuff when the user clicks "save" in the settings template? </p>
  
Tags: <plugin-development>
Title: Is there any way to hook into saving a plugins settings?
ThreadText: # Is there any way to hook into saving a plugins settings?
  
  (Asked by: username_0 on 2015-02-02)
  
  I'm attempting to create a plugin that is going to create some basic fields/sections as a post-installation setup. I don't really want to create a full-blown CP entry so is there any way of just doing stuff when the user clicks "save" in the settings template?
  
  **Tags:** plugin-development
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-02-02. Score: 3 | Accepted answer
  
  Take a loot at the **prepSettings()** function of your plugin.
  
  <http://buildwithcraft.com/docs/plugins/plugin-settings>
  
  
  ---
  
  