giugio Posted February 13, 2014 Share Posted February 13, 2014 hello, i would create a simple form that uploads a file .I must create a module? for each action in prestashop i must create a module or is possible to call a method in a controller like in the MVC pattern?How i can call an action in a controller in the prestashop's philosophy?Or controllers are called controllers but are another thing in prestashop?The question at the end is this: how simply create a form with a input file type and load the file in a controller with controller's logic?Thanks. Link to comment Share on other sites More sharing options...
tomerg3 Posted February 13, 2014 Share Posted February 13, 2014 You can either create a module (you can look at any of the existing Prestashop modules as an example), or, you can create a new controller, you can see an example for it in the contact form controller, which is used for the Contact page. Link to comment Share on other sites More sharing options...
giugio Posted February 14, 2014 Author Share Posted February 14, 2014 You can either create a module (you can look at any of the existing Prestashop modules as an example), or, you can create a new controller, you can see an example for it in the contact form controller, which is used for the Contact page. very thanks. Link to comment Share on other sites More sharing options...
Recommended Posts