In the edit online page, when i change image in module image for example, i want the image added in a repository called with the same name as the current edit page (if i add an image to myPage, i want the image stored in /userfiles/media/mypage).

I found the file plupload.php, and i changed this line with $myDir : $target_path = MW_MEDIA_DIR . DS . $myDir . DS;

But i don't know how to get my page name to put it in the variable $myDir.
Can i use mw.uploader with a directory name parameter ?

Do you understand what i want to do, and have you any idea ?

Thank you,


No comments

You have to log in or register to post a comment: