Project

General

Profile

Actions

Feature #21062

closed

Content Element Media needs stdWrap to change path (e.g. for DAM)

Added by Georg Ringer about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2009-09-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)


Files

patch-cemedia-stdwrap.patch (566 Bytes) patch-cemedia-stdwrap.patch Administrator Admin, 2009-09-15 22:20
Actions

Also available in: Atom PDF