hello.
I am not too sure what causes this, but if I enable pegoEditor and then i18n, and then go to create a page, a story, etc, I get the following error:
Fatal error: Call to undefined function _i18n_get_lang() in /home/fabjo/public_html/sites/all/modules/pegoeditor/PEGOEditor.module on line 374
any idea?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | PEGOEditor.module.patch | 318 bytes | andpego |
Comments
Comment #1
mohammed76I did more tests, I installed the pego editor module on a fresh site after I installed and enabled the i18n module on my linux vps, I even tried this on my local wamb and I still get the message when I go to localhost/node/add/page "Fatal error: Call to undefined function _i18n_get_lang() in C:\www\vhosts\localhost\sites\all\modules\pegoeditor\PEGOEditor.module on line 374"
Comment #2
andpego commentedIt's a real bug, tthe function _i18n_get_lang() does not exists (it's i18n_get_lang).
Can you try to apply this patch and tell me if it works?
It just changes the line #374 of PEGOEditor.module removing the underscore before i18n_get_lang().
Comment #3
mohammed76hi.
yes, thank you. that did it. btw, thank you very much for such a very accessible editor. I am blind and have tested it with my screen reader. I can use it very well. and it's the only editor inside of drupal that works this well with screen readers.
Mohammed.
Comment #4
andpego commentedWow...you'll never know how glad I am to receive such a satisfied comment! You really made me proud of my work!
P.S. Did you know that: Alt+1 goes to the first button row, Alt+2 to the second button row, etc., and Alt+0 return to the editing area.