I have a Magento controller and a phtml file. How can I redirect to that file in my controller action? I searched the net, but found nothing. Ideas?
Thanks!
I have a Magento controller and a phtml file. How can I redirect to that file in my controller action? I searched the net, but found nothing. Ideas?
Thanks!
If you mean that you want to show the contents of your phtml-file when visiting the URL of the controller, you should follow this tutorial: Baobaz Controller Tutorial
It has everything in it you need. Even interaction between the controller and the template.
Remember to adjust the paths and class names to your solution.