my local/mage/catalog/prodoct/newwall.php
protected function _getProductCollection()
{
if (is_null($this->_productCollection)) {
$brand_id = $_GET['brand_id'];
$collection = Mage::getModel('catalog/product')->getCollection()
->addAttributeToFilter('manufacturer', array('eq' => $brand_id ))
->addAttributeToSelect('*');
$this->setProductCollection($collection);
}
return $collection;
}
I Added cms page layout
<reference name="content">
<block type="catalog/product_newall" name="product_new" 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>
</reference>
Please tell me How To add default magento toolbar and pager. using this code display only product.
cms.xml
?