[TYPO3-core] RFC: Feature #6626: config.fileTarget for link target on files
    Francois Suter 
    fsuter at cobweb.ch
       
    Fri Jul 25 18:15:55 CEST 2008
    
    
  
Hi,
> Solution:
> Introducing the new config and typolink property fileTarget, which makes the
> default target for internal links on files configurable.
The patch is a bit old but still applies fine with offsets.
+1 after reading and testing.
Please change the line:
if ($conf['fileTarget.']) {$target = $this->stdWrap($target, 
$conf['fileTarget.']);}
to
if ($conf['fileTarget.']) {
	$target = $this->stdWrap($target, $conf['fileTarget.']);
}
You probably took the next line as an example, but it is an old format. 
You may actually reformat it too, while you're at it.
Cheers
-- 
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
    
    
More information about the TYPO3-team-core
mailing list