Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Pager not working in Product List Catalog Block
 
MrFeelgood
Jr. Member
 
Avatar
Total Posts:  22
Joined:  2010-03-01
Leeuwarden
 
MagThemes - 18 May 2010 06:03 AM

Works beautifully. You have saved us hours of trouble shooting. Many thanks!

You are more than welcome! I’m glad somebody makes use of this solution!

 
Magento Community Magento Community
Magento Community
Magento Community
 
JDS80
Member
 
Total Posts:  56
Joined:  2009-02-09
 

Im trying to get it to work with this module: http://yoast.com/landing-pages-module-magento/ that allows to list products with custom attributes, but it suffers from the same problem with missing pager.

I tried modifyed MrFeelgoods code but the yoast module seems to only support to be used under content using thís {{block type=\\\"Yoast_Filter/Result\\\" name=\\\"filter_result\\\" attribute=\\\"manufacturer\\\" value=\\\"31\\\" template=\\\"catalog/product/list.phtml\\\"}} and not the XML block update.

Can it be something similar with catalog.xml as with catalogsearch.xml they write about here?
http://www.noamdesign.com/blog/magento-pagination-disappears-on-the-search-results-page-after-upgrading-to-1-4/

Any suggestions are appreciated!
/Johan

 
Magento Community Magento Community
Magento Community
Magento Community
 
cnywrestling
Jr. Member
 
Total Posts:  11
Joined:  2010-06-03
 

@MrFeelgood

I’m sorry to be thick, but can you please tell me which CMS block to add that to?  Do I have to add a new one for product listing or something?
Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Leopold Hardin
Jr. Member
 
Total Posts:  16
Joined:  2010-07-26
 

@MrFeelgood:

Thanks a lot for your great solution! Using Magneto 1.4.0.1 here and stumped into this problem. Luckily I was able to sort it out in less than 15 minutes thanks to you.

@cnywrestling

You should use this on whatever page you are using now to display your products with the {block} handler. Delete the handler and include the code into Design->Layout Update XML

 
Magento Community Magento Community
Magento Community
Magento Community
 
SentientMatter
Jr. Member
 
Avatar
Total Posts:  9
Joined:  2009-05-12
 

Works great! THANK YOU...was pulling my hair out working on this.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Riti
Member
 
Total Posts:  33
Joined:  2010-03-09
 

I am also trying to have paging for one of my custom page.
I have created a page in CMS and call my template file (custom-list.phtml) on new page.
In custom-list.phtml I am creating product collection with some filters.

How can I do paging for custom collection?

I tried MrFeelgood’s solution, but no success.  downer
Can anyone help me?

Thanks,
Riti

 
Magento Community Magento Community
Magento Community
Magento Community
 
JDS80
Member
 
Total Posts:  56
Joined:  2009-02-09
 

Riti:

I hired an developer to fix this issue with paging not working.

/Johan

 
Magento Community Magento Community
Magento Community
Magento Community
 
michele benvenuti
Member
 
Total Posts:  53
Joined:  2009-10-08
 

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.

 
Magento Community Magento Community
Magento Community
Magento Community
 
freefall1
Jr. Member
 
Total Posts:  1
Joined:  2009-08-12
 

Michele,

Thnx! You prevented us from getting an s***tload of pain in the head!!

Grtz

 
Magento Community Magento Community
Magento Community
Magento Community
 
teroz
Jr. Member
 
Total Posts:  2
Joined:  2010-12-15
 

thank you this worked like a charm

 
Magento Community Magento Community
Magento Community
Magento Community
 
ThreeCheeseHigh
Jr. Member
 
Total Posts:  13
Joined:  2010-10-13
 

My thanks to MrFeelgood too, his Solution with XML-Code in CMS page was / is great. Saved me from hours of searching and trying and getting mad xD

 
Magento Community Magento Community
Magento Community
Magento Community
 
Submit Digital
Jr. Member
 
Avatar
Total Posts:  6
Joined:  2011-03-29
 

I ran into this problem of having the pager disappear when using

{{block type={{block type="catalog/product_list" column_count="4" template="catalog/product/list.phtml"}
on cms pages and static blocks.  The fix recommended in this thread would only work for CMS pages and not static blocks.  It also does not seem that elegant to me.

I found a nice post related to the subject here

I modified the code a little bit until it worked for me.

{{block type="catalog/product_list" column_count="4" template="catalog/product/list.phtml" toolbar_block_name="product_list_toolbar"}}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Iclicknetwork
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2009-04-02
 

Hi,

Please check this extension, i think it have enough feature for your requirements about pagination related, so this will fix your problem also

Magento Pagination

Thank you,
Tuan

 
Magento Community Magento Community
Magento Community
Magento Community
 
bartom34
Jr. Member
 
Total Posts:  18
Joined:  2011-10-25
 

Hi,

I have got a problem with pager in a custom template page.
Pager does not show inside the toolbar.

I tried to follow behind instructions but it does not work.

Then, my layout :

<reference name="content">
            <
block type="marketplace/collection" name="marketplace_collection8" template="marketplace/collectionview.phtml">
                <
block type="catalog/product_list" name="product_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>
            </
block>
        </
reference>

Any idea why it does not work ?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2