any ideas?

On Fri, Jul 17, 2009 at 6:26 AM, Isaac Raja <[email protected]> wrote:

> Hi all,
>
> I'm developing  a  web application, in which the when the user adds a
> filter, it is appended to the url, for example
>
>
>
> http://www.classifieds.my/categories/list_post/category_name/price:245/title:something/keyword:somethingelse/name:newname
>
>
> Everything is working fine now, But I want the user to add the filter city.
> When the  user clicks a particular city link,  the above url must be turned
> into
>
>
> http://cityname.classifieds.my/categories/list_post/category_name/price:245/title:something/keyword:somethingelse/name:newname
>
> ie) i don't want to loose other filters .  I have done an ugly hack, in
> which i get the url from $this->here and replace the sudomain part.
>
>
> Is there a cake way to do it. Or how to implement this feature in cakephp?
>
>
> Thanks
> Isaac
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to