Change urls |
[eluser]Unknown[/eluser]
Hi , I want to change all my urls, from the controller name eg: http://mysite/dashboard to http://mysite/#dashboard because i want to load the controller via ajax request anyone has an idea how to do it thanks in advanced yaron
[eluser]TaylorOtwell[/eluser]
I'm not sure how one would accomplish that. Nothing after the hash is ever passed to the server. As far as I'm aware, the hash is usually just to let the JavaScript know which call it needs to make, and it also helps maintain a history on heavy AJAX sites so the user can still use the "back" button. You will still have to call some conventionally named URL in the background. |
Welcome Guest, Not a member yet? Register Sign In |