hello people, I managed to upload a file to the external folder with plonelocalfolderng and simultaniously to a database. but as you all know, after uploading a file with htmlformuploadfile, this automaticly redirects to plfng_view. but I made my own view of the files available in the folder, based on the content of my database. So after upload, I want it to redirect to this page again, and not to the plfng_view of plonelocalfolderNG. I tried putting a javascript in this file, and changing the links in plfng_view, but I can't seem to find just where to put it. maybe someone can help? thanks Olivier
Olivier Wambacq wrote at 2006-3-10 10:57 +0100:
I managed to upload a file to the external folder with plonelocalfolderng and simultaniously to a database.
but as you all know, after uploading a file with htmlformuploadfile, this automaticly redirects to plfng_view. but I made my own view of the files available in the folder, based on the content of my database.
Thus, you use your own action wrapper which calls the orginal action and then redirects as you want it. The second redirect overrides the first one. -- Dieter
participants (2)
-
Dieter Maurer -
Olivier Wambacq