[TYPO3] First Extension attempt

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Mar 12 18:59:02 CET 2008


Hi!

Stephen Bungert wrote:
> All the related articles are listed, the body text is nicely cropped with
> ... at the end, I have the timestamp converted. All I hhave to do now is
> find out how to link the title tot he actual article (in single view).

$conf = array(
	'parameter' => $this->conf['ttnewsSinglePid'],
	'additionalParams' => '&tx_ttnews[tt_news]=' . $newsUid,
	'useCacheHash' => true,
);
$url = $this->cObj->typoLink_URL($conf);

You need a page id with tt_news single view in $this->conf['ttnewsSinglePid'].

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list