[Typo3-dev] Clickmenu and content frame

Wolfgang Klinger wolfgang at stufenlos.net
Tue Apr 27 19:58:59 CEST 2004


 *hiya!*
On 19:13 Tue 27 Apr     , Steffen Mueller wrote:
> 
> Where can I set the target for the link? Do I have to replace this 
> function and render the link myself?
> 

 Don't know if I got it right,
 but there should be some lines like
---
$url = t3lib_extMgm::extRelPath("my_ext")."cm1/index.php?id=".$uid.'&function=something';
$localItems[] = $backRef->linkItem(
        $GLOBALS["LANG"]->getLLL("cm1_title_expand",$LL),
        $backRef->excludeIcon('<img src="'.t3lib_extMgm::extRelPath("my_ext").'cm1/cm_icon.gif" width="14" height="12" border="0" align="top">'),
        "top.content.nav_frame.document.location='".$url."';
        ",
        0 
);
---
 in ..._cm1.php

 As you can see it's possible to set the target (= onclick handler) to anything as
 third parameter... (isn't that set by default? can't remember...)

 bye
 Wolfgang







More information about the TYPO3-dev mailing list