I am extending an add-on so it will be a widget on the dashboard. I wrote the view.php, but I am unsure what I need to put in the edit.php to make it appear on the dashboard. I put the code in views/default/widgets/widgetname/
Any tips on what I need to do? I am using elgg_extend_view to extend the view to the dashboard. Am I doing this right? I am using elgg 1.7.10-12. Not sure which version.
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.
- Ben Potter@Speedysnail6
Ben Potter - 0 likes
- zuda@zuda
zuda - 0 likes
- zuda@zuda
zuda - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- You registered wthe widget with add_widget_type() in start.php
- A view exist for the same widget name
- Run the upgrade.php
You must log in to post replies.You need the start.php of your plugin to register the widget.
i put the add_widget_type into the start.php. Is there anything else I need to add?
I left the edit.php file blank... well it has a <?php ?>. That is it.
Make sure