fale.henrique Posted July 27, 2016 Share Posted July 27, 2016 (edited) Hi, is is possible redirect by my module for AdminOrders page? I did like this, but not work. Ex: <?php class MyModuleCustomPaymentModuleFrontController extends ModuleFrontController { public function initContent() { $this->display_column_left = false; parent::initContent(); $this->placeOrder(); } private function placeOrder() { $link = $this->context->link->getAdminLink('AdminOrders'); Tools::redirect($link); } } Edited July 27, 2016 by fale.henrique (see edit history) Link to comment Share on other sites More sharing options...
roja45 Posted July 27, 2016 Share Posted July 27, 2016 you can't redirect a customer from the front office to the back office. (well, I suppose you could but they would have to log in. I'm not sure you can generate a link to an admin controller from a front controller context though). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now