CodeIgniter Modular Extensions & the i18n library |
[eluser]die onsigbare[/eluser]
Hi All, I have been using the CodeIgniter i18n library by Jérôme Jaglale (http://maestric.com/en/doc/php/codeigniter_i18n) , which works great for my project. But since I need to write separate modules, I recently added CodeIgniter Modular Extensions ( https://bitbucket.org/wiredesignz/codeig...sions-hmvc ) and the navigation breaks. How can I solve this issue please, I would to use both the i18n library & Modular Extensions. Thank you in advance.
[eluser]die onsigbare[/eluser]
[quote author="die onsigbare" date="1385498222"]Hi All, I have been using the CodeIgniter i18n library by Jérôme Jaglale (http://maestric.com/en/doc/php/codeigniter_i18n) , which works great for my project. But since I need to write separate modules, I recently added CodeIgniter Modular Extensions ( https://bitbucket.org/wiredesignz/codeig...sions-hmvc ) and the navigation breaks. How can I solve this issue please, I would to use both the i18n library & Modular Extensions. Thank you in advance.[/quote] I think my application navigation fails to work because i18n library introduces adds a language in the site url, in my case my url is http://localhost/index.php/en/home and after adding Modular Extensions, my navigation/links stop working.
[eluser]umefarooq[/eluser]
there is no problem at all in you application you need to change something MY_Config and MY_Lang which come with codeigniter i18n library you can see in MY_Config class extending CI_Config just change it to Code: class MY_Config extends CI_Config also same for MY_Lang file Code: class MY_Lang extends CI_Lang |
Welcome Guest, Not a member yet? Register Sign In |