Jump to content

Redirect to a Friendly URL


stevengiraldo

Recommended Posts

Don't you know the URL before page construction time yet? If you do, you could assign it to a smarty var (i.e. in the controller) before you give it to the tpl file.

 

Or does it depend on choices on the client side or so? Please elaborate a little how the process works,

pascal

Link to comment
Share on other sites

Don't you know the URL before page construction time yet? If you do, you could assign it to a smarty var (i.e. in the controller) before you give it to the tpl file.

 

Or does it depend on choices on the client side or so? Please elaborate a little how the process works,

pascal

 

It´s right.

 

I don´t know the URL, because first it's necesary a selection by user in a select.

 

User select a option and I send a request ajax, then, my module builds a url friendly and response request ajax.
 
by last, I'm using location.href
 
 
Thanks.
Edited by stevengiraldo (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...