add_widget_type('helloworld', '$video_title', 'The hello, world widget');
somethink like this
hey alfalive,
yes the code you listed looks good but the problem $video_title return as empty in start.php.
but if i test the code below in my view.php of the widget, it works:
echo $video_title = $vars['entity']->videotitle;
you know how could i pass that data in to start.php
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.