[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
** Changed in: mahara Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: Fix Released Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
** Tags added: nominatedfeature -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: Fix Committed Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
** Changed in: mahara Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: Fix Committed Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
Environment tested: Master Browser tested: Chrome === Manual Test Script === Preconditions: 1. Tester must have access to the code 2. Group must exist Test Steps: 1. Browse to a a group 2. Confirm Group tabs are displayed (ie. About | Members | Forums etc...) 3. edit code file /module/framework/lib.php 4. Add the following code to the end of the class public static function group_tabs($groupid, $role) { return array( 'test' => array( 'path' => 'groups/files', 'url' => 'artefact/file/groupfiles.php?group='.$groupid, 'title' => Test, 'weight' => 80, ), ); } 5. Refresh the Group page 6. confirm that the title "Test" is now displayed in the group tabs 7. edit code file /artefact/annotation/lib.php 8. Add the following code to the end of the class public static function group_tabs($groupid, $role) { return array( 'test1' => array( 'path' => 'groups/files', 'url' => 'artefact/file/groupfiles.php?group='.$groupid, 'title' => Test1, 'weight' => 80, ), ); } 9. confirm that the title "Test1" is now displayed in the group tabs Catalyst QA Approved ✔ -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: Fix Committed Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
the issue described in bug#1718480 is a particular case of this one. I marked the other bug as duplicated of this one since the patch for this one also resolves both issues. ** Changed in: mahara Status: Incomplete => In Progress -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: In Progress Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
Alex, can you please take a look at https://bugs.launchpad.net/mahara/+bug/1718480 and see if that would be what you are looking for? ** Changed in: mahara Status: In Progress => Incomplete -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: Incomplete Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
This bug looks to be similar to https://bugs.launchpad.net/mahara/+bug/1718480 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: In Progress Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
The code I posted was only though as a basis for a developer for implementation. It is not really functional. :-) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: In Progress Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
** Changed in: mahara Importance: Undecided => Wishlist ** Changed in: mahara Status: New => In Progress ** Changed in: mahara Milestone: None => 18.10.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: In Progress Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 1749408] Re: Make it possible for PlugIns defining a grouptab
For this perhaps following idea could be a kind of code basis: // ToDo: Make it possible to insert group_tabs by PlugIn conventions based on following code foreach (plugin_types_installed() as $plugin_type_installed) { foreach (plugins_installed($plugin_type_installed) as $plugin) { // ToDo: Call PlugIn Method display_group_tab_allowed which provides the code which does all the checks here if (method_exists(generate_class_name($plugin_type_installed, $plugin->name),'group_tabs')) { $plugin_menu = call_static_method(generate_class_name($plugin_type_installed, $plugin->name), 'group_tabs', $group->id); $menu = array_merge($menu, $plugin_menu); } } } -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1749408 Title: Make it possible for PlugIns defining a grouptab Status in Mahara: New Bug description: Currently we are developing an artefact plugin and a module plugin and therefore we need to have related grouptabs for users to use the new functionalities of these plugins. Unfortunately such additional tabs are only considered for interaction plugins. For our purposes we use a workaround by adding some code to the lib/group.php file at line 2046 to get this handled for our plugins like it is implemented as core code at line 2022 and following. It would be nice if group menu items of other plugin types than interaction could be defined if necessary by default without modifying the mahara core. Thank you Alex To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1749408/+subscriptions ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp