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

Home » RADICORE development » Transaction Patterns » Filepicker (Deleting Files / VPD)
Re: Filepicker [message #5750 is a reply to message #5535] Fri, 22 July 2016 10:33 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 433
Registered: May 2014
Senior Member
I have created two tasks and two screens for deleting the pictures and the videos. In the screen for deleting the pictures I can see the picture. In my screen for deleting the video files, I don't see the video-image.

I tried to change the specification for the field in the class file but I wasn't successful.

The dict.inc has the following specification:

// field specifications for table htm.training_uebung_video_file
$fieldspec['file_id'] = array('type' => 'string',
'size' => 255);
$fieldspec['filename'] = array('type' => 'string',
'size' => 255);
$fieldspec['file'] = array('type' => 'string',
'size' => 255);
// primary key details
$this->primary_key = array('file');
// default sort sequence
$this->default_orderby = 'file';
// finished

The screen.inc has the following code:
$structure['main']['fields'][] = array('video' => 'Video',
'imagewidth' => 16,
'imageheight' => 16,
'nosort' => 'y');

In _cm_changeConfig() I added this code:
$this->fieldspec['file']['subtype'] = 'video';
$this->fieldspec['file']['notext'] = 'y';

Do I have to add additional code?
 
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 07:14:49 EST 2024

Total time taken to generate the page: 0.01276 seconds