[TYPO3-commerce] Pagebrowser

media.res | Alex Widschwendter a.widschwendter at mediares.at
Tue Sep 11 10:44:21 CEST 2007


cheers,

> currently it is not possible to configure the rendering of the 
> pagebrowser except by using hooks to overwrite the pagebrowser-marker 
> with a customized version. But by changing one simple line it would be 
> possible to at least use the default styling-features of the piBase 
> pagebrowser. Simply change line 505 of class.tx_commerce_pibase.php to:
> 
> ---
> $markerArray['CATEGORY_BROWSEBOX'] = 
> $this->pi_list_browseresults($this->conf['pageBrowser.']['showItemCount'],$this->conf['pageBrowser.']['tableParams.'],$this->conf['pageBrowser.']['wraps.']); 
> 
> ---
> 
> and now you could configure the styling in TS:
> ---
> plugin.tx_commerce_pi1.pageBrowser {
>     showItemCount = 1
>     tableParams =
>     wraps {
>         disabledLinkWrap = <span class="disabled">|</span>
>         inactiveLinkWrap = <em>|</em>
>         activeLinkWrap = <strong>|</strong>
>         browseLinksWrap = |
>         showResultsWrap = |
>         showResultsNumbersWrap = |
>         browseBoxWrap = <div class="pagebrowser">|</div>
>     }
> }

see bug: 0006315 (has patch)

cheers alex


More information about the TYPO3-project-commerce mailing list