Elgg_view function move from elgglib.php file to view.php file.But there is a bug i find.
I input http://s.opentom.com/mod/thewire/everyone.php?view=json But ,there is no json data;It return null.But what is the problem. Problem is here:
In elgg1.72 elgglib.php elgg_view function:
$view_location = elgg_get_view_location($view, $viewtype);
$view_file = "$view_location$viewtype/$view.php";
$default_view_file = "{$view_location}default/$view.php";
In elgg 1.73 view.php(engine/lib/view.php)
$view_location = elgg_get_view_location($view, $viewtype);
$view_file = "$view_location$viewtype/$view.php";
$default_location = elgg_get_view_location($view, 'default');
$default_view_file = "{$default_location}default/$view.php";
This is the problem.Pls note that,now you should have fix the bug.
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.
Add entities/entity_list.php in json folder