Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Transaction Patterns » Filepicker (Deleting Files / VPD)
Re: Filepicker [message #5756 is a reply to message #5753] Tue, 26 July 2016 05:23 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
Why are you defining a field called 'file' in $fieldspec? That is a dummy field that holds nothing but the file name and is read-only, so it does not need any specifications. The only difference between an image picker and a video picker is the screen structure file that I provided previously. In your class file you also need to set $this->picker_subdir to the directory which contains your video files. Those are the only changes I made in my tests, and I do not encounter this error.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: list1/list2 - prevent opening detail screen
Next Topic: VPD - PopUp
Goto Forum:
  


Current Time: Fri Nov 22 00:55:38 EST 2024

Total time taken to generate the page: 0.01334 seconds