[Typo3] link target for sp_directory - SOLVED

tapio tapio.markula at dnainternet.net
Fri Jul 22 14:50:08 CEST 2005


tapio wrote:
> Hi
> 
> I use sp_directory. I would like to redefine
> for 'WWW' link target.
> 
> I makes links using this function
> 
>         function makeHTTPLink($url,$name)      {
>                 $this->typolink_conf["parameter"] = $url;
>                 #$this->typolink_conf["target."] = "_blank";
>         #$this->conf['target.']="_blank";
>                 $code = $this->cObj->typolink($name, $this->typolink_conf);
> 
>     return $code;
>         }
> 
> commented didnt't work.
> The function 'typolink' has been defined in a core file 
> (/tslib/class.tslib_content.php)
> 
> Tapio Markula

This small code solves this problem:


plugin.tx_spdirectory_pi1 {
typolink.extTarget=_blank
}



More information about the TYPO3-english mailing list