Why in new Elgg 2.0 versions setting.php in plugin group_tools_priority does not work.

Last updated by Yevgeniy Comments (3)

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
  ));
 }
}

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking

Navigation