Skip to content

Instantly share code, notes, and snippets.

Avatar

Enzo Perrotta eperrotta

View GitHub Profile
View InstallSchema.php
<?php
namespace Training\Render\Setup;
use Magento\Framework\Setup\InstallSchemaInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
class InstallSchema implements InstallSchemaInterface
{
@eperrotta
eperrotta / PATCH-rev-slider-SUPEE-8788.diff
Last active Apr 25, 2018
This is a patch for the Revolution Slider Magento Extension to make it compatible with the last SUPEE-8788 Magento Patch.
View PATCH-rev-slider-SUPEE-8788.diff
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>
View main.xml.diff
<?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 / Abstract.php
Last active May 2, 2016
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
View Abstract.php
<?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
You can’t perform that action at this time.