Closed juho-jaakkola closed 11 years ago
When plugin is enabled for the first time there is no default value for setting "neworder". Therefore the module list in the settings page does not get rendered at all.
views/default/admin/settings/river_addon/modules.php
$ordering = elgg_get_plugin_setting('neworder', 'river_addon'); $ordering = explode(',', $ordering); foreach ($ordering as $key => $value) { echo $items[$value]; }
$ordering is an empty array so the foreach loop doesn't print anything.
When plugin is enabled for the first time there is no default value for setting "neworder". Therefore the module list in the settings page does not get rendered at all.
views/default/admin/settings/river_addon/modules.php
$ordering is an empty array so the foreach loop doesn't print anything.