MODx Bug/Feature Tracker and Feature Requests
Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!
FS#844 — Undefined index: cancel with BottomButtonBar
Attached to Project —
MODx
Opened by Michel (Mitch) - Wednesday, 25 April 2007, 11:33AM
Last edited by Brunaud (coroico) - Friday, 09 May 2008, 05:40AM
Opened by Michel (Mitch) - Wednesday, 25 April 2007, 11:33AM
Last edited by Brunaud (coroico) - Friday, 09 May 2008, 05:40AM
| Task Type | Bug Report |
|---|---|
| Category | Plugin/Module/Snippet |
| Status | Closed |
| Assigned To |
Garry Nutting (garryn) |
| Operating System | All |
| Severity | Medium |
|---|---|
| Priority | Normal |
| Reported Version | 0.9.5 |
| Due in Version | 0.9.6.2 |
| Due Date | Undecided |
| Percent Complete |
|
Details
When a language file does not have all the strings specified and would fallback on the English language string this will not work in the BottomButtonBar plugin.This can easily be fixed. Remove the line (line 28):
include $modx->config['base_path'].'manager/includes/lang/'.$modx->config['manager_language'].'.inc.php';
Add instead the line:
global $_lang;
Now the language file as loaded by MODx is used instead of loading the language file within the plugin.
See forum thread for original problem:
http://modxcms.com/forums/index.php/topic,5890.msg93245/topicseen.html#new
This task depends upon
This task blocks these from closing
So I suggest to close this issue