Single Entry
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Viget Labs
Doesn’t Play nice with other addons using cp_menu_array hook
Support Request
Codesly, Inc.
|
Posted: 26 September 2012 12:28 PM |
|
|
|
Hey Guys,
Cool add-on but it doesn’t play nicely with other add-ons using the cp_menu_array hook.
In your cp_menu_array method you need to check for previous calls:
Change This:
public function cp_menu_array($menu)
{
$this->EE->api->instantiate(‘channel_structure’);
To This:
public function cp_menu_array($menu)
{
$this->EE->api->instantiate(‘channel_structure’);
if ($this->EE->extensions->last_call !== FALSE)
{
$menu = $this->EE->extensions->last_call;
}
|
|
|
Viget
|
Posted: 26 September 2012 02:54 PM |
# 1
|
|
Developer
|
Thanks for the heads up! We just pushed an updated version, so let us know if you run into any issues.
|
|
|