[TYPO3-dam-devel] RFC: Bugfix: 10243, Media tag: ATagParams can't wrap dam fields

Michiel Roos [netcreators] michiel at netcreators.com
Thu Jan 29 21:54:29 CET 2009


Olivier Schopfer schreef:
> This is a svn patch request.
> 
> Type: bugfix
> 
> Description:
> The computation of the ATagParams stdWrap takes place BEFORE the dam
> fields are available, maiking it impossible to use these fields. This
> patch moves the computation of ATagParams to the right place.
> 
> Branches:
> 1.1.1
> Head
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=10243
> 
> Kind regards,
> 
> Olivier
> 

Hi,

I don't understand:
$finalTagParts['aTagParams'] = $this->cObj->getATagParams($conf);

Just uses $conf which is not touched in the function.

So why place the line where you placed it?

And why not move it down to join:
$finalTagParts['url'] = $this->cObj->lastTypoLinkUrl;
$finalTagParts['targetParams'] = $target ? ' target="'.$target.'"' : '';
$finalTagParts['TYPE'] = 'file';

Kind regards,


Michiel Roos
-- 
Netcreators BV :: creation and innovation
www.netcreators.com

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/


More information about the TYPO3-team-dam mailing list