[TYPO3-german] link in eigener Extension automatisch generieren

Philipp Holdener philipp at holdener.ch
Tue Sep 8 09:38:08 CEST 2009


> 
> 
> $marks['###LINK###'] = 
> $this->pi_list_linkSingle($this->pi_getLL('label_link', 
> '[more]'),$row['uid'],$cache=1);
> 


sorry.. falscher code

Das hier wars

$marks['###LINKS###'] = nl2br($this->cObj->http_makelinks($row['links'], 
$conf['links.']));
		if ($marks['###LINKS###'] != '') {
			$marks['###LABEL_LINKS###'] = $this->pi_getLL('label_links', 
'Links:', true);
		} else {
			$marks['###LABEL_LINKS###'] = '';
		}


also $this->cObj->http_makelinks brauch ich!


Gruss
Philipp


More information about the TYPO3-german mailing list