|
Ok, let\’s put all togher…
Magento 1.4.0.1 has a bug: it doesn\’t displays the paginator in CATEGORY and in CATALOG SEARCH RESULTS to fix it:
(BEWARE: probably the same bug is also in per TAG results, but I didn\’ test it. the same solution should work fine.)
MODIFY:
/app/design/frontend/default/THEME/layout/catalogssearch.xml
under <catalogsearch_result_index>
find
this line
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
replace
with
<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"/>
</block>
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
</block>
do the same for <catalogsearch_advanced_result>
then
MODIFY:
/app/design/frontend/default/THEME/layout/catalog.xml
under <catalog_category_layered>
find
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> </block>
replace with
<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"/> </block>
do the same for <catalog_category_default>
hope that help!!
mic b.
|