Custum routing while form submit with get mehod- Zend Framework
I am submitting values using zend_from using get method.
I want to do custom routing here.
Here it shows url :
开发者_JS百科http://www.example.com/news/index?keyword=world&news_category=&dt_from=&dt_to=&search=Search&limit=10
but I want to show :
http://www.example.com/news/index/keyword/world/news_category/architecture/dt_from/null/dt_to/null/search/Search/limit/10
IS it possible ?
Please help me to solve it.
If you already have the route set up to process the second url correctly, you can use some javascript to catch the form submit and change it to a redirect with the params placed correctly.
精彩评论