Hi everybody, I'm building a website with ajax. There is a main layout that I don't want to reload for the whole website and a main div that will contain the content to be updated for each different page. I'm trying to get from one page to another using $ajax->link but my url remains the same. It's really annoying. I was wondering if it was possible when using $ajax->link to change the url dynamically to get such things as
http://www.mydomain.com/#controller1/action1 http://www.mydomain.com/#controller2/action1 or http://www.mydomain.com/ajax/controller1/action1 http://www.mydomain.com/ajax/controller2/action2 Maybe I shouldn't be using $ajax->link for that purpose ? I also tried to use the redirect function as defined in the bakery (http://bakery.cakephp.org/articles/view/redirects-with-ajax) but all I get is 'AjaxController missing'. Is there any ajax routing that I have to set ? I would really appreciate your help, I've been googling a lot for the past week and only found deprecated stuffs. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
