• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
codeigniter 3.0-dev - routes urls

#1
[eluser]ariel_esp[/eluser]
Hi guys,

I using CI 2.1.3, my system work fine... with HMVC
I have a admin painel, where there is a search form that final url is variable... as:
domain.com/admin/users/search/ -> home
domain.com/admin/users/search/1/ -> pagination
domain.com/admin/users/search/1/text/text/etc -> text = search query 1, search query 2, etc ...

working fine...

but.. I started test with CI 3.0-dev ... using same base routes and modules.. etc
So, the routes work... but, I cant using ilimited search querys like above...
Return 404

domain.com/admin/users/search/ -> home - OK
but...
domain.com/admin/users/search/1/ -> pagination
domain.com/admin/users/search/1/text/text/etc -> text = search query 1, search query 2, etc ...
dont work because roles in route not specific with all blocks "/"

routes.php example : working fine in 2.1.3 for my projects::
$route['([a-zA-Z_-]+)/([a-zA-Z_-]+)/(:any)'] = "$2/$1/$3";

In resume, my idea in url are: controller/module/function / parameter1 / parameter2 / etc....

---
So, any idea why stopped work in 3.0-dev ?


Messages In This Thread
codeigniter 3.0-dev - routes urls - by El Forum - 01-05-2013, 02:40 PM
codeigniter 3.0-dev - routes urls - by El Forum - 01-06-2013, 10:09 AM
codeigniter 3.0-dev - routes urls - by El Forum - 01-06-2013, 10:39 AM
codeigniter 3.0-dev - routes urls - by El Forum - 01-06-2013, 11:18 AM
codeigniter 3.0-dev - routes urls - by El Forum - 01-10-2013, 04:36 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.