Jump to content

Edit History

jmauclair

jmauclair

Hi guys,

 

I'm trying to create an Admin Controller with a csv file uploader to process it like an array.

 

I can't find an efficient way to do it, I tried to use $this-> fields_form, but nothing is showing up.

Then I did a tpl file with an input file, called in initContent, but I don't know how to retrieve my file in the controller.

I need to create multiple object of different classes that I made, thanks to the csv file.

 

Does somebody have some documentation that could help me, I've already search through prestashop dev doc, stack overflow, ect but I've didn't see anything that could help me (maybe I didn't search the good way ?)

 

Waiting for your help guys !

jmauclair

jmauclair

Hi guys,

 

I'm trying to create an Admin Controller with a csv file uploader to process it like an array.

 

I can't find an efficient way to do it, I tried to use $this-> fields_form, but nothing is showing up.

Then I did a tpl file with an input file, called in initContent, but I don't know how to retrieve my file in the controller.

I need to create multiple object of different classes that I made, thanks to the csv file.

 

Does somebody have some documentation that could help me, I've already search through prestashop dev doc, stack overflow, ect but I've didn't see anything that could help me (maybe I didn't search the good way ?)

 

Waiting for your help guys !

×
×
  • Create New...