Awesome :-) Is there a way to get modx to accept both post and get with the "a" parameter, because i have a module that processes uploads by opening a second instance of modx in the background and i need the a parameter to switch to the modules-screen?
im not sure why you need a 2nd instance of modx, but perhaps you may use javascript or remove the a parameter from the 2nd modx instance before submission of the form.
Hello James, thanks for your reply, the second instance of modx will be opened by a java applet for uploading the images to the imagegallery-manager with client-side imageresizing, it would work with a separate php file for handling the uploads outside modx, but i need access to the modx api for writing database entries and such, to better understand you may want have look at it, it is available under wiki.012h.de called AdvAlbum, its just the module which makes use of double formaction
4 comments:
Awesome :-) Is there a way to get modx to accept both post and get with the "a" parameter, because i have a module that processes uploads by opening a second instance of modx in the background and i need the a parameter to switch to the modules-screen?
Hi Oclanis,
im not sure why you need a 2nd instance of modx,
but perhaps you may use javascript or remove the a parameter from the 2nd modx instance before submission of the form.
Hello James, thanks for your reply, the second instance of modx will be opened by a java applet for uploading the images to the imagegallery-manager with client-side imageresizing, it would work with a separate php file for handling the uploads outside modx, but i need access to the modx api for writing database entries and such, to better understand you may want have look at it, it is available under wiki.012h.de called AdvAlbum, its just the module which makes use of double formaction
perhaps you would want to writing connectors instead of directly calling manager/index.php in this case?
Post a Comment