Age | Commit message (Collapse) | Author |
|
git-svn-id: https://code.elgg.org/elgg/trunk@2165 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: https://code.elgg.org/elgg/trunk@1823 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Also, fixed widget save to handle arrays (Refs #135)
git-svn-id: https://code.elgg.org/elgg/trunk@1400 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: https://code.elgg.org/elgg/trunk@1109 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Use the same technique as edit pages on widgets, i.e.
1) Create a new view in your plugins view/default called settings/PLUGINNAME/edit
Where PLUGINNAME is the plugin directory, eg "river" or "profile".
2) Place your edit code in edit.php, fields should save to params[fieldname].
3) The view will be passed $vars['entity'] which holds any configuration values already set in the metadata.
Note. Settings are PER SITE.
git-svn-id: https://code.elgg.org/elgg/trunk@1031 36083f99-b078-4883-b0ff-0f9b5a30f544
|