Jump to content

RedirectAdmin dosn't work


jojo89

Recommended Posts

Hello every body,

 

I'create a simple BO module how create a new product from dashboard, and after create the product i use Tools::redirectAdmin function to redirect to admin product page of the new product to update it

 

in the begning i have a problem with the token ...

but know it's ok i use that for my redirection

Tools::redirectAdmin('index.php?controller=AdminProducts&id_product='.$new_product->id.'&updateproduct&token='.Tools::getAdminTokenLite('AdminProducts'));

but no redirection ... and in my firebug i have the redirection page in my console... 

 

any suggestion ?

 

Thank u

and sorry for my english ..

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...