Magento News
Magento 1.4 toolbar bug
It is nice to have magento 1.4 released but there is a small bug in toolbar which makes the list and grid view error.
And I don’t like the error report in write in a number file stored in var/report, even though it is good to have it not showing in the frontend
it is not good for developers to find the errors.
It is a easy fix for the toolbar error for magento1.4
here is the code from the new magento1.4
class Mage_Catalog_Block_Product_List_Toolbar extends Mage_Core_Block_Template
{
/**
* Products collection
*
* @var Mage_Core_Model_Mysql4_Collection_Abstract
*/
the problem is the extends Mage_Core_Block_Template, it doesn’t have the method each as $this->getPages()
so if you change it to
class Mage_Catalog_Block_Product_List_Toolbar extends Mage_Page_Block_Html_Pager
all the problem fixed.
Possibly Related Posts:
- #eugenedevjobs PHP / LAMP Web Developer Magento & WordPress a Must (Baltimore, MD): City: Baltimoreread more http://t.co/n7PVbsZa
- New job: magento store theme, design and implementation. by csonline http://t.co/WVfdGR6M
- New job: Magento – Cloud Theme – Digital Products by w3bsit3s http://t.co/BGPEg8Yc
- New job: magento expert needed individual by phenixwebsol http://t.co/ikEUffe9
- New job: Magento Quotation Booking Form/Diary by yourreno http://t.co/4H7zcpGU
RSS Feed