[Typo3-dev] feature-patch for pi_list_browseresults

Michael H.E. Roth mher at mher.de
Sat Oct 30 11:32:38 CEST 2004


Martin T. Kutschker wrote:

> Can I disable the page browser?

Well, with the current (flexible) patch you could wrap the page browser
part with something like

$wrapArr['LinksWrap'] = '<div style="visiblity:hidden">|</div>';

but to be honest that's not very elegant.
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

> 
> 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). But if you can position the two parts
merely by css, it should be possible to do it with just one call.

what do you think?

Michael
-- 
Michael H.E. Roth




More information about the TYPO3-dev mailing list