Skip to content

Instantly share code, notes, and snippets.

View ProxiBlue's full-sized avatar
🏠
Working from home

Lucas van Staden ProxiBlue

🏠
Working from home
View GitHub Profile
@ProxiBlue
ProxiBlue / Mage_Core_Exception
Created July 19, 2015 01:53
NewRelic Extension Block Blank Mage_Core_Model_Store_Exception pushes
<?php
/**
* This file is part of ProxiBlue NewRelic Module available via GitHub https://github.com/ProxiBlue/NewRelic
*
* ProxiBlue NewRelic Module is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
@ProxiBlue
ProxiBlue / common_snapshot_configurationupdates
Created September 24, 2014 06:35
Comon / example snapshot configuration changes
<!-- Change unsecure base URL-->
<update>
<where>
<field><![CDATA[path]]></field>
<value><![CDATA[web/unsecure/base_url]]></value>
</where>
<set>
<field><![CDATA[value]]></field>
<value><![CDATA[{{base_url}}]]></value>
</set>
@ProxiBlue
ProxiBlue / rewrite non existing file
Last active August 29, 2015 14:04
Rewrite a non existing magento core class....
I found it is possible to do a rewrite on a core class that does not actually exist....
Usage case:
I am creating a reCaptcha module that integrates google recaptcha into magento's core captcha system.
In the core captcha you have the ability to state a 'type', as can be seen in the config.xml
of Mage_Captcha
<default>
......