This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | |
...... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This code is part of ProxiBlue Free Gift Promotions | |
* It may be used/edited, freely, but this notice must remian intact. | |
* | |
/** | |
(function (a) { | |
function b() { | |
} | |
for (var c = "assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","), d; !!(d = c.pop());) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +proxiblue is my blockchain ID. https://onename.com/proxiblue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Drop this into the shell directory in the Magento root and run with -h to see all options. | |
*/ | |
require_once 'abstract.php'; | |
/** | |
* Fix duplicate url keys for categories and products to work with the 1.8 alpha1 CE url key constraints. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* http://magento.stackexchange.com/questions/1354/how-to-find-all-bundle-products-that-contain-a-simple | |
* | |
*/ | |
require_once '../shell/abstract.php'; | |
class Mage_Shell_findProducts extends Mage_Shell_Abstract { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected $_paramsToTrack = array("offer_followup"); | |
/** | |
* Capture any listened for parameters, and inject them into the session | |
* under a variable called : ProductOfferUrlParams | |
* | |
* You must clear this variable with a call to | |
* | |
* Mage::getSingleton('customer/session')->unsProductOfferUrlParams(); | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
n98-magerun --scope-id=0 config:set web/unsecure/base_url {{base_url}} | |
n98-magerun --scope-id=0 config:set web/secure/base_url {{base_url}} | |
n98-magerun --scope-id=1 --scope="stores" config:set web/unsecure/base_url {{base_url}} | |
n98-magerun --scope-id=1 --scope="stores" config:set web/secure/base_url {{base_url}} | |
n98-magerun --scope-id=1 --scope="stores" config:set web/unsecure/base_skin_url {{base_url}}/skin | |
n98-magerun --scope-id=1 --scope="stores" config:set web/secure/base_skin_url {{base_url}}/skin | |
n98-magerun --scope-id=0 config:set web/unsecure/base_skin_url {{base_url}}/skin | |
n98-magerun --scope-id=0 config:set web/secure/base_skin_url {{base_url}}/skin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php |
OlderNewer