Jump to content

Using File manager on module


Rubens Cury

Recommended Posts

  • 5 months later...

This forum would be MUCH BETTER if everyone REALLY tried to help each other.

I posted this question at the beginning of March and haven't had any help yet. Btw, the solution is right follows below.

 

1. Edit a Prestashop product by clinking on IMAGES tab to see how does it work.

 

2. Then take a look these files to figure out how to do yours. Just seek by the methods, copy and do some adjusts to them.

 

controllers\admin\AdminProductsController.php

admin1234\themes\default\template\controllers\products\images.tpl

admin1234\themes\default\template\controllers\products\attachments.tpl

admin1234\themes\default\template\controllers\products\helpers\uploader\*.*

 

Good Luck @ggyyvv

Edited by Rubens Cury (see edit history)
Link to comment
Share on other sites

This forum would be MUCH BETTER if everyone REALLY tried to help each other.

I posted this question at the beginning of March and haven't had any help yet. Btw, the solution is right follows below.

 

1. Edit a Prestashop product by clinking on IMAGES tab to see how does it work.

 

2. Then take a look these files to figure out how to do yours. Just seek by the methods, copy and do some adjusts to them.

 

controllers\admin\AdminProductsController.php

admin1234\themes\default\template\controllers\products\images.tpl

admin1234\themes\default\template\controllers\products\attachments.tpl

admin1234\themes\default\template\controllers\products\helpers\uploader\*.*

 

Good Luck @ggyyvv

 

 

 

Hi Guys,

 

I was wondering to put a "filemanager" feature into an specific module's form in order to easier attach some files (up to 3) on it. Does anybody would have any idea about how to do that or even some suggestion instead?

 

Thank you all

 

 

This forum would be MUCH BETTER if everyone REALLY tried to help each other.

I posted this question at the beginning of March and haven't had any help yet. Btw, the solution is right follows below.

 

1. Edit a Prestashop product by clinking on IMAGES tab to see how does it work.

 

2. Then take a look these files to figure out how to do yours. Just seek by the methods, copy and do some adjusts to them.

 

controllers\admin\AdminProductsController.php

admin1234\themes\default\template\controllers\products\images.tpl

admin1234\themes\default\template\controllers\products\attachments.tpl

admin1234\themes\default\template\controllers\products\helpers\uploader\*.*

 

Good Luck @ggyyvv

 

You were given several responses about how to proceed which were much less vague than you question.  If you feel to vent with attitude, delete the first three responses.

 

now here is my favorite song about 'wondering', knowing I need you to save me.  enjoy

 

Link to comment
Share on other sites

Dear Mr. El Patron,

  1. I just try to collaborate with this forum (and I'm doing that);
  2. Check - and prove - yourself how many posts are in this forum without any interaction;
  3. I never disrespected anyone in this forum. Quite the opposite;
  4. I will report your warning simply because I see no reasons for that and also because you are not doing that properly;
  5. I dispense to know what is your favorite songs about anything. For this purpose, I suggest you to create a Soundcloud account.

Thank you Mr El Patron.

 

You were given several responses about how to proceed which were much less vague than you question.  If you feel to vent with attitude, delete the first three responses.

 

now here is my favorite song about 'wondering', knowing I need you to save me.  enjoy

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...