[Typo3-dev] feature-patch for pi_list_browseresults

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Sat Oct 30 14:09:51 CEST 2004


Michael H.E. Roth wrote:

> Martin T. Kutschker wrote:
> 
> 
>>Can I disable the page browser?
> 
[snip]
> I could add more meaning to the first parameter $showResultCount which has
> currently the following meanings:
> 0 => don't show the result count
> not 0 => show the result count and the page browser
> default = 1
> to:
> 0 => don't show the result count
> 1 => show the result count and the page browser
> 2 => don't show the page browser

Please do so :-)

>>I had a customer who wanted to split up the result count and the page 
>>browser. So I hacked pi_list_browseresults myself.
>>
>>Unfortunately the plugins had to call the method now twice. Once for the 
>>counter once for the browser. So I had to hack some other stuff as well...
> 
> Now, if there are 2 different html-template markers or 2 different
> ts-elements you want to assign the page browser and the result count to, I
> don't see no way but to call the function twice (at least not without
> breaking the traditional behaviour).

I as just whining ;-) I think it simply can't be done otherwise, so we 
have to live with this limitation.

 > But if you can position the two parts
> merely by css, it should be possible to do it with just one call.

I couldn't do this then. In fact I had the browser twice on my template.

Masi




More information about the TYPO3-dev mailing list