Why in new Elgg 2.0 versions setting.php in plugin group_tools_priority does not work.
<?php
$views = elgg_get_config('views');
$tools = $views->extensions['groups/tool_latest'];
echo 'Priority of Group Tools:';
foreach ($tools as $priority => $view) {
if ($view != 'groups/tool_latest') {
echo '<label>' . $view . '</label>';
echo elgg_view('input/text', array(
'name' => "params[tools:$view]",
'value' => $priority
));
}
}
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.
Views are no longer stored in config.
Thank you very much Izmayil, when make plugin group_tool_priority for elgg 2.0?
I am not planning to.