while developing a module, I was stuck in problem of how to redirect page from tpl file to admin controller in Prestashop?
Asked
Active
Viewed 331 times
1 Answers
0
You can do it with javascript redirect:
How to redirect to another webpage in JavaScript/jQuery?
Just do not forget to pass the token to the template and pass it.

Community
- 1
- 1

PrestaShopDeveloper
- 3,110
- 3
- 21
- 30
-
thank you for answering but I need to call it using prestashop methods only. – user3326696 Aug 11 '14 at 10:59
-
There's no PrestaShop method for redirecting from tpl file. – PrestaShopDeveloper Aug 11 '14 at 13:23
-
May be you mean to link to another admin controller? From Front Office template or from BackOffice template? – PrestaShopDeveloper Aug 11 '14 at 13:48
-
From back office template I simply wants to call a custom admin controller of a module. With jquery also it is showing an error? – user3326696 Aug 12 '14 at 07:27