Skip to content

Instantly share code, notes, and snippets.

@eperrotta
eperrotta / Abstract.php
Last active May 2, 2016 15:29
Fix for the app/code/local/Mage/Eav/Model/Entity/Collection/Abstract.php to fix the issue when selecting decimal and int attributes in the admin grids
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
<?xml version="1.0"?>
<!--
/**
* 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:
@eperrotta
eperrotta / PATCH-rev-slider-SUPEE-8788.diff
Last active April 25, 2018 09:10
This is a patch for the Revolution Slider Magento Extension to make it compatible with the last SUPEE-8788 Magento Patch.
diff --git a/app/design/adminhtml/default/default/layout/nwdthemes/nwdrevslider.xml b/app/design/adminhtml/default/default/layout/nwdthemes/nwdrevslider.xml
index 41dc890..16eedb0 100755
--- a/app/design/adminhtml/default/default/layout/nwdthemes/nwdrevslider.xml
+++ b/app/design/adminhtml/default/default/layout/nwdthemes/nwdrevslider.xml
@@ -50,9 +50,10 @@
<action method="addJs"><script>extjs/ext-tree.js</script></action>
<action method="addJs"><script>extjs/fix-defer.js</script></action>
<action method="addJs"><script>extjs/ext-tree-checkbox.js</script></action>
- <action method="addJs"><script>lib/flex.js</script></action>
- <action method="addJs"><script>lib/FABridge.js</script></action>
<?php
namespace Training\Render\Setup;
use Magento\Framework\Setup\InstallSchemaInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
class InstallSchema implements InstallSchemaInterface
{