Language Selection 2 mod |
[eluser]dtoolbox[/eluser]
http://codeigniter.com/wiki/Language_Selection_2/ the demo shows http://lang_select.blochberger.us/index....index/l_de i’m a newbie in CI, my question is how to: 1. remove /index.php/ in the url_helper so it makes the link of selection to http://lang_select.blochberger.us/en/welcome/ 2. remove the suffix l_ on each lang selection making it specific to en/de/fr/it etc. hope someone share some enlightenment
[eluser]TheFuzzy0ne[/eluser]
[quote author="dtoolbox" date="1235642038"] 1. remove /index.php/ in the url_helper so it makes the link of selection to http://lang_select.blochberger.us/en/welcome/ [/quote] You can use an .htaccess file. http://codeigniter.com/wiki/mod_rewrite/ [quote author="dtoolbox" date="1235642038"] 2. remove the suffix l_ on each lang selection making it specific to en/de/fr/it etc. [/quote] You could either use your .htaccess file, or perhaps use a route. http://ellislab.com/codeigniter/user-gui...uting.html |
Welcome Guest, Not a member yet? Register Sign In |