-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Affects Version/s: COmanage Registry 4.4.2 (Sparkling Summit MR2)
-
Component/s: None
The Standard view files such as edit.ctp loads buttons.inc files for plugins using code like
if(!empty($this->plugin)) { |
if(file_exists(APP . "Plugin/" . $this->plugin . "/View/" . $model . "/buttons.inc")) { |
include(APP . "Plugin/" . $this->plugin . "/View/" . $model . "/buttons.inc"); |
} elseif(file_exists(LOCAL . "Plugin/" . $this->plugin . "/View/" . $model . "/buttons.inc")) { |
include(LOCAL . "Plugin/" . $this->plugin . "/View/" . $model . "/buttons.inc"); |
}
|
} else { |
if(file_exists(APP . "View/" . $model . "/buttons.inc")) { |
include(APP . "View/" . $model . "/buttons.inc"); |
}
|
}
|
but it does NOT do the same for tabs.inc, so the mechanism/framework is not available for plugins that want to use the tabs.