Welcome Guest, Not a member yet? Register   Sign In
pass param to the index of a controller
#1

[eluser]jongliko[/eluser]
Hi,

I'm wondering what's the best way to use the index of my controller in some cases.

For example I have :

www.mywebsite.com/index.php/news/

in the index of my controller I'll list all my news with pagination. Is their a way to do something like that

www.mywebsite.com/index.php/news/paramOffset/paramPerPage/

or the only way is :

www.mywebsite.com/index.php/news/list/paramOffset/paramPerPage/

If the only way is the second one, is it better to refresh directly the index to

www.mywebsite.com/index.php/news/list/

I'm trying to find the best for the user and the indexation's search robots

Thanks for your help


Messages In This Thread
pass param to the index of a controller - by El Forum - 12-31-2008, 06:38 AM
pass param to the index of a controller - by El Forum - 12-31-2008, 07:47 AM
pass param to the index of a controller - by El Forum - 12-31-2008, 08:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB