I am writing a widget, which could be inserted multiple times to the dashboard. Now I want to make it possible, that a user can change the widget title to distinguish the two or three inserted widgets.
How can I do that in widget programming? Can I use other text than the widget name for the widget 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.
- buxul@buxul

buxul - 0 likes
You must log in to post replies.After a long time of experimenting, I found a solution:
you online must asking in edit.php for a parameter "title". That was it.
<input type="text" name="params[title]" value="<?php echo htmlentities($vars['entity']->title); ?>" />