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 519

Questions about overriding core features (class rewrites, local code pool, theme overrides). For URL rewrites, use the "url-rewrite" tag instead.

4 votes
Accepted

Extending a block from core:

Change available to onepage_shipping_method_available path to block <blocks> <!-- ... --> <checkout> <rewrite> <onepage_shipping_method_available>CompanyName_Checkout_Bloc …
MagePal Extensions's user avatar
4 votes
Accepted

I am failing to override an admin phtml

Another way to accomplish this since a lot of other paid module my customize this files, is to create a custom admin theme In /app/etc/local.xml <stores> <admin> <design> …
MagePal Extensions's user avatar
2 votes
Accepted

Magento admin rewrite block is not working Properly

Take a look at Magento CE 1.7.0.2 - Adding Next Previous in ADMIN sales order view product try calling the parent::__construct(); last. class MageIgniter_NextBackButton_Block_Adminhtml_Sales_Order_Vi …
MagePal Extensions's user avatar
1 vote
Accepted

Block rewrite not working - Mage_Checkout_Block_Onepage

Your path is not correct app\code\local\Name\Module\Block\Checkout\Onepage.php class Name_Module_Checkout_Block_Onepage extends Mage_Checkout_Block_Onepage { Should be (same as the class name) …
MagePal Extensions's user avatar
1 vote

How to override Bronto Magento community extension?

Try changing your naming convention /etc/modules/Me_BrontoCommon.xml <?xml version="1.0"?> <config> <modules> <Me_BrontoCommon> <active>true</active> <codePool>local</codePoo …
MagePal Extensions's user avatar
4 votes
Accepted

Rewriting Adminhtml Block - To add custom validation to coupons (shopping cart rule)

Because your rewrite return parent::_prepareForm(); which is class Mage_Adminhtml_Block_Promo_Quote_Edit_Tab_Main you will need to rewrite it parent class. In \app\code\local\Acer\Coupon\Block\Adminh …
MagePal Extensions's user avatar
1 vote
Accepted

Mage Adminhtml rewrite problem

The issue seem to be with your url key, try adding this to your controller (then go to Admin -> Sales -> Order and click on any order #) To get the admin url use Mage::helper('adminhtml')->getUrl("a …
MagePal Extensions's user avatar
0 votes

Customer grid new column display when sorting

class MyCompany_MyModule_Block_Adminhtml_Customer_Grid extends Mage_Adminhtml_Block_Customer_Grid { protected function _prepareColumns() { $this->addColumnAfter('company', array( …
MagePal Extensions's user avatar
2 votes
Accepted

model rewrite not working in admin side

To get frontend quote $quote = Mage::getModel('checkout/cart')->getQuote(); To get Backend quote $quote = Mage::getSingleton('adminhtml/session_quote')->getQuote(); Therefore you need those c …
MagePal Extensions's user avatar
3 votes

How to override Mage/Core/Model/Domainpolicy.php in a custom module?

Your rewrite is not correct, plus you should put the 'core' folder with the 'Model' folder In config.xml <global> <models> <core> <rewrite> <domainpolicy>Me_M …
MagePal Extensions's user avatar
0 votes

Overriding a .phtml file in custom theme doesn't work

The template path seems correct assuming you are using the correct theme app\design\frontend\Perfectmakeupmirrors\argento-luxury-custom\Magento_Checkout\templates\success.phtml Could you check withi …
MagePal Extensions's user avatar
20 votes
Accepted

How to prevent module rewrite class conflict in Magento

You have 3 choices for resolving conflicts: Merge the code from one conflicting file into another and switch off the rewrite config.xml in one Switch off the rewrite in one config.xml and then make …
MagePal Extensions's user avatar
3 votes

Best Practice: How to add a column to a backend grid ?

If you want to use on observer try adminhtml_block_html_before instead of core_block_abstract_to_html_before You could also use your module adminhtml layout.xml <?xml version="1.0"?> <layou …
MagePal Extensions's user avatar