Default Behavior: When using Zip upload in a media tree that has a start node other than root and a user upload a Zip file of images (or other files) the zip file creates a folder in Media/{zipfile_name.zip}.
Issue: The user will never see the uploaded folder/files since they do not have access to the root media node.
Solution:
<script type="text/javascript">
$(document).ready(function(){
// event handlers...
// click on a client
$('#ctl00_body_dashBoardZipUpload_Button1').click(function(){
var value=$('#ctl00_body_dashBoardZipUpload_Panel1 a').html();
if (value=='Choose...') {
alert('Please select a folder to upload your files in. If you don\'t have any folders, please create one in the "Media" root to the left.');
return false;
}
});
});
</script>
It's crude and rudimentary, but without editing the source, this seemed like a good shortcut. Hope it's of use to others as well. Nibble, I hope I am not "stepping on your toes" adding this to the forum. Thanks for a great package!
Zip Upload by Nibble 'addition'
This may be of use to others as well.
Default Behavior: When using Zip upload in a media tree that has a start node other than root and a user upload a Zip file of images (or other files) the zip file creates a folder in Media/{zipfile_name.zip}.
Issue: The user will never see the uploaded folder/files since they do not have access to the root media node.
Solution:
It's crude and rudimentary, but without editing the source, this seemed like a good shortcut. Hope it's of use to others as well. Nibble, I hope I am not "stepping on your toes" adding this to the forum. Thanks for a great package!
-- Nik
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.