*SOLVED* Multilingual codeigniter site |
[eluser]Mr. Pickle[/eluser]
I'm getting a 404 on them. I now found out, by echoing in the controller constructor that the controller is in fact called. I exit() right after the echo because I get a white screen if not (due to errors later on, I think) But when I remove the echo and the exit in the constructor, add a _remap function and but the echo and exit() there I get a white screen again. So apparently CI doesn't come there or a fatal error is created there.
[eluser]Mr. Pickle[/eluser]
Update: I now get into the _remap() function with the possible language codes in front, see code: URI: http://siteurl.com/en/category/test/ Code: function __construct() { this correctly echoes: Code: ... in construct But it stops there, whereas without the modifications this would have shown a page with content. I think I should do something in the _remap() but have no clue what.
[eluser]Mr. Pickle[/eluser]
Ok, got it working now! After finding the i18n library I found that solution better in my case (more options) but as I can judge the basic idea is pretty much the same. Thanks! |
Welcome Guest, Not a member yet? Register Sign In |