I hate to be that guy, who only shows up when he's upset.... but .... this flat out does not work in 5.. It does not save the data from my form field, it does not include or display the field, unless registered as an extension.. Can anybody please explain this correctly, the documentation does not.
Your plugin might need to store per user settings too, and you would like to have your plugin’s options to appear in the user’s settings page. This is also easy to do and follows the same pattern as setting up the global plugin configuration explained earlier. The only difference is that instead of using a settings file you will use usersettings. So, the path to the user edit view for your plugin would be plugins/<your_plugin>/usersettings.php.
Note
The title of the usersettings form will default to the plugin name. If you want to change this, add a translation for <plugin_id>:usersettings:title.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
The docs make it seem all auto-magical and unclear, somewhere it implied you dont need any kind of action handler, like the plugin setting, another place it implies there should be an action/plugin/handler. What a mess.... This section of the docs could really use some improvement.
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.