为文件上传添加一个额外的字段。但是模板中获取的数据是一组特殊字符。如何获得原始路径?
我的代码:
$GLOBALS['TL_DCA']['tl_news']['fields']['image'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_news']['quoteperson_image'],
'exclude' => true,
'filter' => true,
'inputType' => 'fileTree',
'eval' => array('tl_class' => 'clr','files' => true,'fieldType' =>'checkbox',),
'sql' => "blob NULL",
);