Welcome Guest, Not a member yet? Register   Sign In
Routes URL and pagination problem
#1

[eluser]Geneous[/eluser]
:ohh: Hello I have one problem with routes.php - when i am using

$route['text/([A-Za-z0-9\-]+)/([A-Za-z0-9\-]+)/([A-Za-z0-9\-]+)/text1/(:num)/(:num)/(:num)'] = 'text/text1/$1/$2/$3/$4/$5/$6';
here $6 parameter is used for pagination.But initially this will be 0.For this it wont work.However if you edit URL and write any number den it works.I am also using the redirection in following way -

$page=$this->redirection->pagination_redirection($config,'text1/'.$r_catname.'/'.$r_subcatname.'/'.$r_esname.'/text2/'.$category.'/'.$es_id,'$page');

Can anyone help me to sort out this one.I am really new to codeigniter.


Messages In This Thread
Routes URL and pagination problem - by El Forum - 06-12-2009, 12:06 AM
Routes URL and pagination problem - by El Forum - 06-12-2009, 01:41 AM
Routes URL and pagination problem - by El Forum - 06-12-2009, 04:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB