diego.cruciani Posted October 15, 2018 Share Posted October 15, 2018 Hi, In prestashop I'm not able to link a module's controller method from tpl file in modulename/views/template/hook. The syntax I used for the link inside the tpl file is: <a href="{url entity='module' name='modulename' controller='controllername'}" title="{l s='title'}">. The module's controller is inside modulename/controllers/front. The syntax for the controller's name is: modulenameControllerNameModuleFrontController and it extends ModuleFrontController. It seems to me that everything corresponds to the documentation but when I click the link above I receive the error 500. Can anyone suggest the resolution of the problem? Thanks. 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