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

Home » RADICORE development » Transaction Patterns » Filepicker (Deleting Files / VPD)
Re: Filepicker [message #5751 is a reply to message #5750] Sat, 23 July 2016 12:21 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
I have made a change to std.filepicker.list1.xsl which is attached. I tested it with a new filepicker task which deals only with videos. This requires a different screen structure file which looks like the following:
<?php
$structure['xsl_file'] = 'std.filepicker.list1.xsl';

$structure['tables']['main'] = 'file';

$structure['main']['columns'][] = array('width' => '25%');
$structure['main']['columns'][] = array('width' => '25%');

$structure['main']['fields'][] = array('file' => 'File Name');
$structure['main']['fields'][] = array('video' => 'Video',
                                       'imageheight' => 180,
                                       'imagewidth' => 320,
                                       'nosort' => 'y');

?>

This shows two videos per line. You can select a video by clicking on its name, or you can play a video by activating any of its controls.


 
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 01:38:42 EST 2024

Total time taken to generate the page: 0.01379 seconds