reset password
Author Message
kknaur
Posts: 540
Posted 13:27 Oct 30, 2010 |

Should we use the Upload manager that is already built for csns?

Also, where should the files be uploaded to?

Phobe
Posts: 40
Posted 13:51 Oct 30, 2010 |

You can't really reuse the upload controllers for purpose of the file manager, but you can take a very large amount of code from it to make another one. Just need to remember to set the 'regular' attribute.

As for location, it should be in the folder where it stores all the other files. Inject 'fileBaseDir' just like in the existing upload controllers.

Last edited by Phobe at 13:51 Oct 30, 2010.