Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
DropFiles - adjust code to place in the file's namespace
Avatar
PmGeuze #1
Member since Jun 2015 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: DropFiles - adjust code to place in the file's namespace
Friends,

I enjoy using DropFiles and I am looking to try to adjust the code so that a dropped file appears in the receiving file's namespace instead of the namespace that the receiving file is located in.

I see that the code shows creating a variable for ''$NS'', is there a way to create the directory to generally equal @ID@ instead of @NS@?

        if ($res) {
            $result = array(
                'success' => true,
                'link' => media_managerURL(array('ns' => $ns, 'image' => $NS . ':' . $id), '&'),
                'id' => $NS . ':' . $id,
                'ns' => $NS,
            );


Thank you.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-17, 07:14:05 (UTC +01:00)