How to display toolbar/pager in place of breadcrumbs at the top in magento category view page? -


i want display toolbar/pager in place of breadcrumbs, have removed breadcrumbs, not able display toolbar/pager in place of breadcrumbs. how that? i've tried putting xml blocks, ,

<?php echo $this->gettoolbarhtml(); ?> 

even though not getting it. please can help.

unfortunately, can't call method inside other template. gettoolbarhtml() method declared inside mage_catalog_block_product_list class , called or template assigned (that's how works in default template).

i think try create new catalog/product_list block under root reference in layout file, set different name , template. example:

<reference name="root">     <block type="catalog/product_list" name="top-pager" template="path/to/new/template/file.phtml" /> </reference> 

which contain <?php echo $this->gettoolbarhtml(); ?> call.

then, inside 2columns-left.phtml call <?php echo $this->getchildhtml('top-pager') ?>. try achieve css.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -