Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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>
- <action method="addJs"><script>mage/adminhtml/flexuploader.js</script></action>
+ <action method="addJs"><name>lib/uploader/flow.min.js</name></action>
+ <action method="addJs"><name>lib/uploader/fusty-flow.js</name></action>
+ <action method="addJs"><name>lib/uploader/fusty-flow-factory.js</name></action>
+ <action method="addJs"><name>mage/adminhtml/uploader/instance.js</name></action>
<action method="addItem"><type>skin_js</type><name>nwdthemes/revslider/framework/js/browser.js</name></action>
</reference>
</nwdrevslider_images_common>
@@ -131,8 +132,10 @@
</reference>
<reference name="content">
<block name="wysiwyg_images.content" type="adminhtml/cms_wysiwyg_images_content" template="cms/browser/content.phtml">
- <block name="wysiwyg_images.uploader" type="nwdrevslider/adminhtml_images_content_uploader" template="cms/browser/content/uploader.phtml" />
- <block name="wysiwyg_images.newfolder" type="adminhtml/cms_wysiwyg_images_content_newfolder" template="cms/browser/content/newfolder.phtml" />
+ <block name="wysiwyg_images.uploader" type="adminhtml/cms_wysiwyg_images_content_uploader" template="media/uploader.phtml">
+ <block name="additional_scripts" type="core/template" template="cms/browser/content/uploader.phtml"/>
+ </block>
+ <block name="wysiwyg_images.newfolder" type="adminhtml/cms_wysiwyg_images_content_newfolder" template="cms/browser/content/newfolder.phtml" />
</block>
</reference>
</adminhtml_images_index>
--
2.8.1
@alvaroGomides

This comment has been minimized.

Copy link

@alvaroGomides alvaroGomides commented Nov 7, 2016

It worked for me like a charm! Thanks a lot.

@jazzman346

This comment has been minimized.

Copy link

@jazzman346 jazzman346 commented Jan 27, 2017

Fantastic, thanks for sharing!

@tawfekov

This comment has been minimized.

Copy link

@tawfekov tawfekov commented Feb 1, 2017

You deserve a big thank you 🥇

@Jakkara

This comment has been minimized.

Copy link

@Jakkara Jakkara commented Apr 25, 2018

I'm a bit late to the party but damn, thank you so much for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.