[TYPO3-commerce] Pagebrowser
Franz Koch
typo.removeformessage at fx-graefix.de
Mon Sep 3 10:28:53 CEST 2007
Hi,
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>
}
}
---
--
Kind regards,
Franz Koch
More information about the TYPO3-project-commerce
mailing list