I want to be able to set the directory that images and files uploaded for a particular pagetype get put in when creating a page in the CMS. I have tried adding a location to the definition of the FileIframeIfield in getCMSFields() -
$fields->addFieldToTab("Root.Content.Summary", new FileIFrameField('Resource', 'Resource', null, null, null, 'assets/resources/case_studies'));
as I have found suggested elsewhere in the forums, the directory exists and is writable. However I find that the files are written to the standard 'assets/uploads' directory instead. Does anyone know why this is? Am I doing something wrong or is this a bug?
I am using 2.3.3 for this installation, however I have had the same problem with a 2.3.4 installation.