I agree. If Varien would consider being more communicative and giving us at least small documentations and clear guidelines, there wouldn’t be that much complaints. They brought this on themselves and I hope they’ll get tons of bad feedback on the internet and suffer financially. Otherwise nobody over there will react.
I mean, I love Magento and I’m thankful for this product, but I hope Varien will get hurt for being silent with the community. How is that for a nonsense?!
to your css, then add a br tag at the end of toolbal.phtml and that´s it!
You can see that old toolbar are showed inside a table, the new one is tableless!
If you test my tip tell me if worked. With me at all 3 stores worked fine!
Okay, so I did all the above items and my categories work, BUT I now have the unsightly mess of pagination as seen in my screen shot.
Does anyone have a fix for this? I have been trying to merge the two toolbar files but my eyes( and brain) are growing very fuzzy as I’ve been dealing with this for some time. Can anyone help? A simple merged toolbar file to download would be the best.
Thanks a ton!
PS This is the default theme. No customization.
PSS I tried replacing the pager.phtml and still the same look. I am now lost…
Help!
Here is the new toolbar.phtml…
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category design * @package base_default * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ ?> <?php /** * Product list toolbar * * @see Mage_Catalog_Block_Product_List_Toolbar */ ?> <?php if($this->getCollection()->getSize()): ?> <div class="toolbar"> <div class="pager"> <p class="amount"> <?php if($this->getLastPageNum()>1): ?> <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?> <?php else: ?> <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong> <?php endif; ?> </p>
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category design_default * @package Mage * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ ?> <?php /** * Product list toolbar * * @see Mage_Catalog_Block_Product_List_Toolbar */ ?> <?php if($this->getCollection()->getSize()): ?> <table class="pager" cellspacing="0"> <tr> <td> <?php if($this->getLastPageNum()>1): ?> <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?> <?php else: ?> <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong> <?php endif; ?> </td> <?php if($this->getLastPageNum()>1): ?> <td class="pages"> <strong><?php echo $this->__('Page:') ?></strong> <ol> <?php if (!$this->isFirstPage()): ?> <li><a href="<?php echo $this->getPreviousPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" /></a></li> <?php endif ?> <?php foreach ($this->getPages() as $_page): ?> <?php if ($this->isPageCurrent($_page)): ?> <li><span class="on"><?php echo $_page ?></span></li> <?php else: ?> <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li> <?php endif ?> <?php endforeach;; ?> <?php if (!$this->isLastPage()): ?> <li><a href="<?php echo $this->getNextPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" /></a></li> <?php endif ?> </ol> </td> <?php endif; ?> <td class="a-right"> <?php echo $this->__('Show') ?> <select onchange="setLocation(this.value)"> <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?> <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>> <?php echo $_limit ?> </option> <?php endforeach; ?> </select> <?php echo $this->__('per page') ?> </td> </tr> </table> <?php if( $this->isExpanded() ): ?> <table class="view-by" cellspacing="0"> <tr> <?php if( $this->isEnabledViewSwitcher() ): ?> <td> <?php $_modes = $this->getModes(); ?> <?php if($_modes && count($_modes)>1): ?> <?php echo $this->__('View as') ?>: <?php foreach ($this->getModes() as $_code=>$_label): ?> <?php if($this->isModeActive($_code)): ?> <strong><?php echo $_label ?></strong> <?php else: ?> <a href="<?php echo $this->getModeUrl($_code) ?>"><?php echo $_label ?></a> <?php endif; ?> <?php endforeach; ?> <?php endif; ?> </td> <?php endif; ?> <td class="sort-by"> <?php echo $this->__('Sort by') ?> <select onchange="setLocation(this.value)"> <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?> <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>> <?php echo $_order ?> </option> <?php endforeach; ?> </select> <?php if($this->getCurrentDirection() == 'desc'): ?> <a href="<?php echo $this->getOrderUrl(null, 'asc') ?>"><img src="<?php echo $this->getSkinUrl('images/sort_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a> <?php else: ?> <a href="<?php echo $this->getOrderUrl(null, 'desc') ?>"><img src="<?php echo $this->getSkinUrl('images/sort_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a> <?php endif; ?> </td> </tr> </table> <?php endif; ?> <?php endif ?>
Am I in the right page or should it be the pager.phtml that I need to update?
Thanks again.
I had also this issue. What I did? I have deleted folders Layout and Template from app/design/frontend/default/default because there is no need to have this, there are already moved in app/design/frontend/base/default
After updating and fixing the categories, pages with products started showing up again. I noticed though that all pages with more than 9 products didn’t work, instead gave an error.
When I increase the standard value for products shown per page in the backend these errors disappear so I am pretty sure this has to do with the pagination.
Does anyone recognize this behavior, and does anyone have a solution to this problem other than raising the standard value .
Sincere thanks for all the support that at least brought me this far!
Hi, can anyone help? we followed all insctructions and its perfectly works, so all categories and search result are fine. The catalognew and catalogsale anyway was not displaying pages, so I applied same things as to search and advanced search codes given earlier in post and these pages are fixed now too. But can not make work cms pages where we use Yoast filter, so we have cms pages that call by this filter products by attributes
The original filter file looks so:
Hi, can anyone help? we followed all insctructions and its perfectly works, so all categories and search result are fine. The catalognew and catalogsale anyway was not displaying pages, so I applied same things as to search and advanced search codes given earlier in post and these pages are fixed now too. But can not make work cms pages where we use Yoast filter, so we have cms pages that call by this filter products by attributes
The original filter file looks so:
Following quote from (http://www.magentocommerce.com/boards/viewthread/176287/)
I’ve added this block on my “home” page to list all my shop’s product on the front pages
{{block type=\"catalog/product_list\" name=\"home.catalog.product.list\" alias=\"products_homepage\" template=\"catalog/product/list.phtml\"}}
problem is that the block doesn’t show the pager in the toolbar, so there is no way of navigating though the products.
Any one who has an Idea of why the pager is gone and how to get it to show?
the pager works if I go to a category page like ..../index.php/parts.html
I\’m using this template as the base of my template and Magento ver. 1.4.0.1. There was a problem with the pagination so I used the instruction on this thread to fix this. I don\’t get an error anymore but I don\’t have pagination. There is the toolbar 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\"/>
<!-- The following code shows how to set your own pager increments -->
Note where middle line is placed. This is what shows the clickable results so you can move back and forth through the results pages.
Summary of what I followed to get it working:
Anton\’s Link Basically replace toolbar.phtml and pager.phtml in templates and do the above edit to catalog.xml
The next step is to take care of search results pages, they typically are missing the reference to loading the pager.html block, and a fix is described over on