Form Fields on cms_galleries Page
Posted
#5868
(In Topic #1215)
Not allow inputs on specific fields on page
When a member is uploading a video (cms_galleries.php), I do not want the member to be able to enter data into the form fields: Video length, and Dimensions (width/height). I always want this data to be auto-detected (as when the fields are left blank).How would I do this? Nothing I have tried works properly.
Thanks so much for your help!
Posted
You'd need to copy cms/pages/modules/cms_galleries.php to cms/pages/modules_custom/ then remove these lines:
Code
$fields->attach(form_input_integer(do_lang_tempcode('VIDEO_LENGTH'), do_lang_tempcode('DESCRIPTION_VIDEO_LENGTH'), 'video_length', $video_length, false));
$fields->attach(form_input_dimensions(do_lang_tempcode('DIMENSIONS'), do_lang_tempcode('DESCRIPTION_VIDEO_DIMENSIONS'), 'video_width', 'video_height', $video_width, $video_height, false));
0 guests and 0 members have recently viewed this.
