How to use models in CI_Router? For dynamic multilanguage website. |
[eluser]Tottys Design[/eluser]
How to use models in CI_Router? For dynamic multilanguage website. ex: www.mysite.com/pt/meu-carro/ola will take params pt, meu-carro, ola then converts this, loading data from a database, in the name of the controller and mehods: pt, my-car, hy Thanks very much!
[eluser]eoinmcg[/eluser]
Take a look at http://codeigniter.com/wiki/URI_Language_Identifier I've just finished a project where it came in very handy. |
Welcome Guest, Not a member yet? Register Sign In |