Ho All,
Hope Baking is at its Peak.
I am using below code from which I am getting url like this:
example.com/cake/posts/index/Search.keywords:mykeyword/Search.tag_id:3
How to configure this, so that I get url like these:
example.com/cake/posts/index/keywords:mykeyword/tag_id:3
function search() {
$url['action'] = 'index';
foreach ($this->data as $k=>$v){
foreach ($v as $kk=>$vv){
$url[$k.'.'.$kk]=$vv;
}
}
$this->redirect($url, null, true);
}
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php