Hey guys,
I'm trying to create a sorted template module. But when I create a field with fileTree as inputType.
This is my code to create the field:
I use this code to get access to the folder:Code:'template' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_tplsorter']['template'], 'inputType' => 'fileTree' ),
I hope someone knows how to tackle this problem.Code:$GLOBALS['TL_CONFIG']['uploadPath'] = 'templates'; $GLOBALS['TL_CONFIG']['editableFiles'] = 'tpl';
Bookmarks