Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Reply To: No pagination in Regulat Search and Advanced Search. Reply To: No pagination in Regulat Search and Advanced Search.

    #11957

    Anonymous

    Is This correct cause after editing the xml and refreshing my cache my results disappeared and I get a blank page. :?:

    If I remove it it goes back to no pagination.

    (
    <reference name=”content”>
    <block type=”catalogsearch/result” name=”search.result” template=”catalogsearch/result.phtml”>
    <block type=”catalog/product_list” name=”search_result_list” template=”catalog/product/list.phtml”><block type=”catalog/product_list_toolbar” name=”product_list_toolbar” template=”catalog/product/list/toolbar.phtml”>
    <block type=”page/html_pager” name=”product_list_toolbar_pager”/>
    <!– The following code shows how to set your own pager increments –>
    <action method=”setDefaultListPerPage”><limit>10</limit></action>
    <action method=”setDefaultGridPerPage”><limit>8</limit></action>
    <action method=”addPagerLimit”><mode>list</mode><limit>10</limit></action>
    <action method=”addPagerLimit”><mode>list</mode><limit>20</limit></action>
    <action method=”addPagerLimit”><mode>list</mode><limit>30</limit></action>
    <action method=”addPagerLimit” translate=”label”><mode>list</mode><limit>all</limit><label>All</label></action>
    <action method=”addPagerLimit”><mode>grid</mode><limit>8</limit></action>
    <action method=”addPagerLimit”><mode>grid</mode><limit>16</limit></action>
    <action method=”addPagerLimit”><mode>grid</mode><limit>24</limit></action>
    <action method=”addPagerLimit” translate=”label”><mode>grid</mode><limit>all</limit><label>All</label></action>
    </block>
    <action method=”setToolbarBlockName”><name>product_list_toolbar</name></action>
    </block>
    <action method=”setListOrders”/>
    <action method=”setListModes”/>
    <action method=”setListCollection”/>
    </block>
    </reference>
    )