7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » DOM FIleDataObjectManager Issue
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 1035 Views |
-
DOM FIleDataObjectManager Issue

15 June 2010 at 12:07am Last edited: 15 June 2010 12:08am
Hi guys i would like to ask if there's a way to clear/remove files already uploaded when creating a new record? thanks in advance
-
Re: DOM FIleDataObjectManager Issue

15 June 2010 at 1:39am
Is this any help...
http://www.silverstripe.org/all-other-modules/show/266319?start=8#post286421
-
Re: DOM FIleDataObjectManager Issue

15 June 2010 at 2:09am Last edited: 15 June 2010 2:18am
Thanks pinkp for the reply but i think i have a different problem. when i create a new record in admin i have this tab that allows users to upload files (pdf, jpeg), but it listed all the files that already uploaded. is there any way not show existing files on creating new record? Thanks
-
Re: DOM FIleDataObjectManager Issue

15 June 2010 at 2:44am
Hi UncleCheese,
I have this DataObjects
Nurse :
static $has_many = array(
'NurseCredentials' => 'NurseCredential' );
NurseCredentials :
static $has_one = array (
'Attachment' => 'File',
'Nurse' => 'Nurse'
);in the Nurse admin page i have Credentials tab. When uploading files using Data Object Manager it listed all files that are already uploaded. is there any way not to show existing files on creating new Nurse? Thanks!
-
Re: DOM FIleDataObjectManager Issue

15 June 2010 at 2:58am
I still don't understand. Why would you want to hide existing records? How will you ever edit or delete them?
-
Re: DOM FIleDataObjectManager Issue

15 June 2010 at 3:53am
the filemanager, by default, displays all the uploaded files, is there a way to hide these files that are not related to the current object that you're working with
| 1035 Views | ||
| Go to Top | Next > |


