[Typo3] dynamic $this->internal["maxPages"] (browse box)

christian oettinger christian.oettinger at gmx.de
Sat Sep 17 12:41:01 CEST 2005


thanks for your help, but in my case the code looks a bit different:

for($a=0;$a<$max;$a++)	{
	$links[]='
		<td'.($pointer==$a?$this->pi_classParam('browsebox-SCell'):'').' 
nowrap="nowrap"><p>'.
			 
$this->pi_linkTP_keepPIvars(trim($this->pi_getLL('pi_list_browseresults_page','Page',TRUE).
				' 
'.($a+1)),array('pointer'=>($a?$a:'')),$this->pi_isOnlyFields($this->pi_isOnlyFields)).
				'</p></td>';
}

instead of your example i have the code "array('pointer'=>($a?$a:''))" 
which in fact I don't quite understand.
what coukd I change here to get the same result?

thanks again!

oe (christian)



More information about the TYPO3-english mailing list