|
I’m still having problems:
I managed to rewrite both breadcrumbs.php and product.php both located in mage/catalog/block/ But:
Both rewriting are not working at the same time!
If I turn off rewriting of product.php then breadcrumbs.php is rewritten. I put an echo(’tes’) in this file which shows up
If I put rewriting of product.php on, then only product.php is rewritten and the breadcrumbs do not show up at all.
I do the testing on a products page
my configfiles
for breadcrumbs:
<?xml version="1.0"?> <config> <global> <blocks> <catalog> <rewrite> <breadcrumbs>Fenix_Rewrites_Catalog_Block_Breadcrumbs</breadcrumbs> </rewrite> </catalog> </blocks> </global> </config>
for product
<?xml version="1.0"?> <config> <global> <blocks> <catalog> <rewrite> <breadcrumbs>Fenix_Rewrites_Product_Block_Product</breadcrumbs> </rewrite> </catalog> </blocks> </global> </config>
I use breadcrumbs here too because something else does not work.
Fenix_Rewrites
<?xml version="1.0"?> <config> <modules> <Fenix_Rewrites_Breadcrumbs> <active>true</active> <codePool>local</codePool> </Fenix_Rewrites_Breadcrumbs> <Fenix_Rewrites_Product> <active>true</active> <codePool>local</codePool> </Fenix_Rewrites_Product>> </modules>
</config>
|