Skip to main content

Posts

Showing posts from November, 2016

[magento] Create a simple module to override core functionality

An example of patching cloudflare running Magento server * Files needed app/code/local/Fourthmedia/Http/etc/config.xml app/code/local/Fourthmedia/Http/Helper/Cloudflarehttp.php app/etc/modules/Fourthmedia_Http.xml * Example source code // app/code/local/Fourthmedia/Http/etc/config.xml <?xml version="1.0"?> <config>     <modules>         <Fourthmedia_Http>             <version>0.1.0</version>         </Fourthmedia_Http>     </modules>     <global>         <helpers>             <core>                 <rewrite>              ...