Open GoogleCodeExporter opened 8 years ago
well, i have confirmed you can do this on client side but not on admin side.
Any way we can do it on admin side and/or system users, not just clients?
Original comment by Washingt...@gmail.com
on 24 Jul 2014 at 9:49
It would be really useful as an Admin to be able to download all files from a
specific Client Group.
Now you can only:
Hide
Show
Disconnect
Delete
Could you give me some hints how to incorporate this function in the code?
Best regards!
Original comment by s.cozijn...@gmail.com
on 7 Oct 2014 at 9:05
Ok, I did some digging and came up with the following. I think it can be done
more nicely though... Also, the modal is still not closing after the download
has finished.
Original comment by s.cozijn...@gmail.com
on 7 Oct 2014 at 9:36
Forgot to remove console.log debuging. :-) Here is the new file. I did not put
it in the svn/trunk/manage-files.php because I think there must be a better
way. For now my Client is happy! :-P
Original comment by s.cozijn...@gmail.com
on 7 Oct 2014 at 9:41
Attachments:
[deleted comment]
Does that allow you to check all the boxes you want to download or does that
download from a specific client group as you wrote earlier?
Original comment by Washingt...@gmail.com
on 7 Oct 2014 at 9:43
This allows me to log in as admin and then go to:
Client Group -> Manage Groups -> Manage Files (of a group) and then select some
or all files and download them at once just as when you log in as a Client and
Manage your own files.
This will enable an admin/manager to quickly get all the files from the
different clients within that certain group.
Original comment by s.cozijn...@gmail.com
on 7 Oct 2014 at 9:52
I want to add that I copied the code from \templates\default\template.php. I
had to change:
<input type="checkbox" name="files[]" value="<?php echo $file["id"]; ?>" />
to
<input type="checkbox" name="files[]" value="<?php echo $row['id']; ?>" />
so the id of the file was correctly written to the value.
I also copied the jQuery part from the bottom of the template.php to
manage-files.php.
Because of the different ways to generate the checkbox value and the redundant
inclusion of the jQuery code I think it has to be fixed in a more "clean" way
than my "proof of concept" version. ;P
Original comment by s.cozijn...@gmail.com
on 7 Oct 2014 at 10:05
[deleted comment]
Well, thanks for posting this. I don't know much about coding (i can generally
edit some code but i can't write my own really), so it's a little lost on me,
but i do appreciate the posts.
Original comment by Washingt...@gmail.com
on 7 Oct 2014 at 10:28
Original issue reported on code.google.com by
Washingt...@gmail.com
on 18 Jul 2014 at 10:15