Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9498

denotes questions about the `Block` classes.

0 votes
2 answers
906 views

how to remove Mage_Review_Block_Helper? [closed]

I need to remove the Mage_Review_Block_Helper block from a product quickview, so I cannot delete the "$this->getReviewsSummaryHtml" string in the product view template. I tried "remove name="product. …
apedic's user avatar
  • 923
0 votes
Accepted

how to remove Mage_Review_Block_Helper?

I found a simpler solution, using a wrapper block calling $this->getReviewsSummaryHtml inside a phtml file. I called it product.info.review_custom, so using: <remove name="product.info.review_custo …
apedic's user avatar
  • 923
0 votes
3 answers
417 views

what is the difference between sorting blocks using after/before or sorting them in the xml ...

I think the answer should be to preserve upgradability, so I can sort blocks using a local.xml file instead of modifying the original xml layout. … But, what if I copy my own xml file, for example page.xml and I just sort blocks in the footer? …
apedic's user avatar
  • 923
1 vote
Accepted

what is the difference between sorting blocks using after/before or sorting them in the xml ...

I think to have understood the real power of using after/before instead of just sorting blocks in the layout files. … Of course, it works for structural blocks that render automatically the content, like left, right or footer. I don't need to override any xml layout …
0 votes
1 answer
185 views

How to customise bundle product options block (change option renderer)

The default xml structure used by Magento is: <action method="addRenderer"> <type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block> </action> Blocks are declared without …
apedic's user avatar
  • 923
2 votes
1 answer
355 views

Replace default price template in product view

I'd change the default catalog/product/price.phtml I've tried already: <reference name="catalog_product_price_template"> <action method="addPriceBlockType"><type>simple</type><block>catalog/pro …
apedic's user avatar
  • 923
2 votes

Replace default price template in product view

My actual solution is to rewrite the class Mage_Catalog_Block_Product_View_Type_Simple class Store_Core_Block_Catalog_Product_View_Type_Simple extends Mage_Catalog_Block_Product_View_Type_Simple{ …
apedic's user avatar
  • 923
0 votes
1 answer
28 views

Can I move a block from a handle to another?

<customer_address_index> <reference name="my.account.wrapper"> <action method="unsetChild"> <name>address_book</name> </action> </reference> …
apedic's user avatar
  • 923