#21062Content Element Media needs stdWrap to change path (e.g. for DAM)
Description
currently there is no way to change the path of a file if the plugin is used because code like this is used:
—————-
// it is a content element
$this->readFlexformIntoConf($flexParams, $conf[‘parameter.’]);
$url = $conf[‘parameter.’][‘mmFile’];
} else {
// it is a TS object
$url = $this->stdWrap($conf[‘file’], $conf[‘file.’]);
—————
so a $url = $this->stdWrap($url, $conf[‘file.’]); is missing in the if clause.
the attached patch makes it easy to change the path if e.g. DAM is used. Furthermore this could be really nice if cloud hosting is used
(issue imported from #M11965)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.