[TYPO3-ttnews] LIST view: link categories

Hauke Hain newgrp at googlemail.com
Mon May 25 15:47:24 CEST 2009


Thank you for your fast answer.

plugin.tt_news.catTextMode = 3 works, but it just appends the cat to the url 
params. (I do want pi_linkTP_keepPIvars but pi_linkTP)

Btw: What exactly is a shotcut link?


The only possibility without getting the uid of the category via TypoScript 
is to add an extra mode 4 with the following code:

$news_category[] = $this->local_cObj->stdWrap($this->pi_linkTP($catTitle, 
array(
       'tx_ttnews[cat]' => $this->categories[$row['uid']][$key]['catid']), 
$this->allowCaching, 0, $catSelLinkParams), 
$lConf[($this->categories[$row['uid']][$key]['parent_category'] > 
0?'subCategoryTitleItem_stdWrap.':'categoryTitleItem_stdWrap.')]);


Do you have any other idea?


Kind regards,
Hauke 



More information about the TYPO3-project-tt-news mailing list