Version Notes
Added fixes for FSeo
Download this release
Release Info
Developer | fishpig |
Extension | Fishpigs_Attribute_Splash_Page |
Version | 3.3.8.2 |
Comparing to | |
See all releases |
Code changes from version 3.3.8.1 to 3.3.8.2
- app/code/community/Fishpig/AttributeSplash/Controller/Router.php +2 -0
- app/code/community/Fishpig/AttributeSplash/Helper/Data.php +21 -0
- app/code/community/Fishpig/AttributeSplash/Model/Observer.php +2 -0
- app/code/community/Fishpig/AttributeSplash/etc/config.xml +1 -1
- app/code/community/Fishpig/AttributeSplash/sql/.DS_Store +0 -0
- package.xml +5 -5
app/code/community/Fishpig/AttributeSplash/Controller/Router.php
CHANGED
@@ -55,6 +55,8 @@ class Fishpig_AttributeSplash_Controller_Router extends Mage_Core_Controller_Var
|
|
55 |
$requestUri . Mage::getStoreConfig('attributeSplash/seo/url_suffix')
|
56 |
);
|
57 |
|
|
|
|
|
58 |
return true;
|
59 |
}
|
60 |
|
55 |
$requestUri . Mage::getStoreConfig('attributeSplash/seo/url_suffix')
|
56 |
);
|
57 |
|
58 |
+
Mage::helper('attributeSplash')->clearLayerRewrites();
|
59 |
+
|
60 |
return true;
|
61 |
}
|
62 |
|
app/code/community/Fishpig/AttributeSplash/Helper/Data.php
CHANGED
@@ -85,4 +85,25 @@ class Fishpig_AttributeSplash_Helper_Data extends Mage_Core_Helper_Abstract
|
|
85 |
return 'true' === (string)Mage::getConfig()->getNode('modules/Fishpig_FSeo/active')
|
86 |
&& Mage::helper('fseo/layer')->isEntityTypeEnabled('attributeSplash_page');
|
87 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
}
|
85 |
return 'true' === (string)Mage::getConfig()->getNode('modules/Fishpig_FSeo/active')
|
86 |
&& Mage::helper('fseo/layer')->isEntityTypeEnabled('attributeSplash_page');
|
87 |
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Disable the MageWorx_SeoSuite rewrites for the layered navigation
|
91 |
+
*
|
92 |
+
* @return $this
|
93 |
+
*/
|
94 |
+
public function clearLayerRewrites()
|
95 |
+
{
|
96 |
+
Mage::getConfig()->setNode('modules/MageWorx_SeoSuite/active', 'false', true);
|
97 |
+
Mage::getConfig()->setNode('global/models/catalog/rewrite/layer_filter_item', null, true);
|
98 |
+
Mage::getConfig()->setNode('global/models/catalog/rewrite/layer_filter_attribute', null, true);
|
99 |
+
Mage::getConfig()->setNode('global/models/catalog/rewrite/layer_filter_category', null, true);
|
100 |
+
Mage::getConfig()->setNode('global/models/catalog_resource/rewrite/layer_filter_item', null, true);
|
101 |
+
Mage::getConfig()->setNode('global/models/catalog_resource_eav_mysql4/rewrite/layer_filter_item', null, true);
|
102 |
+
|
103 |
+
if ($this->isFishPigSeoInstalledAndActive()) {
|
104 |
+
Mage::helper('fseo/layer')->applyLayerRewrites();
|
105 |
+
}
|
106 |
+
|
107 |
+
return $this;
|
108 |
+
}
|
109 |
}
|
app/code/community/Fishpig/AttributeSplash/Model/Observer.php
CHANGED
@@ -168,6 +168,8 @@ class Fishpig_AttributeSplash_Model_Observer
|
|
168 |
)
|
169 |
)));
|
170 |
|
|
|
|
|
171 |
return $this;
|
172 |
}
|
173 |
}
|
168 |
)
|
169 |
)));
|
170 |
|
171 |
+
Mage::helper('attributeSplash')->clearLayerRewrites();
|
172 |
+
|
173 |
return $this;
|
174 |
}
|
175 |
}
|
app/code/community/Fishpig/AttributeSplash/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Fishpig_AttributeSplash>
|
5 |
-
<version>3.3.8.
|
6 |
</Fishpig_AttributeSplash>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Fishpig_AttributeSplash>
|
5 |
+
<version>3.3.8.2</version>
|
6 |
</Fishpig_AttributeSplash>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Fishpig/AttributeSplash/sql/.DS_Store
DELETED
Binary file
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fishpigs_Attribute_Splash_Page</name>
|
4 |
-
<version>3.3.8.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://fishpig.co.uk/license.txt">FishPig EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Create SEO landing pages for your product attributes.</summary>
|
10 |
<description>This module allows you to create splash pages (landing pages) for your product attributes. These pages function much like category pages, allowing yo to display products, static blocks or both. The module works with the category navigation and layered navigation and includes fully customisable SEO URL's.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>fishpig</name><user>fishpig</user><email>ben@fishpig.co.uk</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="AttributeSplash"><dir name="Block"><dir name="Adminhtml"><file name="Dashboard.php" hash="731dbb40a55071d02bd92e43473109fa"/><file name="Extend.php" hash="b953e4661405165bcf29b59aeda42a3b"/><dir name="Form"><dir name="Field"><file name="Urlkey.php" hash="b3f2e813188d6f8805b2caeb4f834bf6"/></dir></dir><dir name="Group"><dir name="Edit"><file name="Form.php" hash="fc927b79309df561773fe578fb1fad09"/><dir name="Tab"><file name="Abstract.php" hash="96e479a7eca8cb742f27a9eed619d65e"/><file name="Content.php" hash="30d24e08d83bb222f2b1a8169c4f3d48"/><file name="Design.php" hash="1fbc5babddc70729a1dcacb1fabbe034"/><file name="General.php" hash="c7c3d088f4a538c6b4d9a784aab88242"/><file name="Meta.php" hash="7058642a220347deeda6ea431fc054f1"/><file name="Seo.php" hash="a95471b43c44140ea07c24618f8b531e"/></dir><file name="Tabs.php" hash="b03a68cc45f8b68733d1627ab3538411"/></dir><file name="Edit.php" hash="79e7d29d23acd9c72ea37794c8d29231"/><file name="Grid.php" hash="de399b8df83efbc7d2442c9c0dc59ba4"/></dir><file name="Group.php" hash="7804d0272717593ef7afaa2261f7302c"/><dir name="Page"><dir name="Edit"><file name="Form.php" hash="ec8609e766d4e6e7176cc9e0c9e8b6bc"/><file name="Js.php" hash="45e4e33068189377e9bcac1a51b5ba47"/><dir name="Tab"><file name="Abstract.php" hash="577c17bec36fbffc6f8cd3231ba8a243"/><file name="Attributes.php" hash="dab45d890fa5566f8b940ced03ec48b1"/><file name="Content.php" hash="820db5968e8efcd80b8fcc70e74bff34"/><file name="Design.php" hash="48dc187093ec327a1877fb1ade16bb33"/><file name="General.php" hash="70c6893aca12ea2561cbf8119f19a799"/><file name="Images.php" hash="e1482076b30cfa9a60b71c5b9b9a68ac"/><file name="Meta.php" hash="c98f7455bfffe42a853d96e03fc38f07"/></dir><file name="Tabs.php" hash="59b6ef6fc4465a70cbb793b83a416910"/></dir><file name="Edit.php" hash="e381e3a218bab4fca9f73e13b38992ec"/><file name="Grid.php" hash="509c695f523f07d01a4932a55f1dbc1f"/><dir name="Helper"><file name="Image.php" hash="562c6c1db32c28dec6b82465515ca0ea"/></dir></dir><file name="Page.php" hash="563f0973d5ca0c292f47f0f58e9537e0"/><file name="Xmlsitemap.php" hash="2dad376de1cbb3315f0c21446f9d1388"/></dir><dir name="Group"><file name="View.php" hash="5c3cf0804007a5f74f5698dc80f78bbe"/></dir><dir name="Layer"><file name="View.php" hash="bb1151087d78fdbcda30bd28ed7cfa14"/></dir><dir name="Page"><dir name="View"><dir name="Product"><file name="List.php" hash="90d4af1ec0a4570f8677927ae71cc42c"/></dir></dir><file name="View.php" hash="dbb394a410de1cb4cb23c1bb45d6212b"/></dir></dir><dir name="Controller"><file name="Router.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fishpigs_Attribute_Splash_Page</name>
|
4 |
+
<version>3.3.8.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://fishpig.co.uk/license.txt">FishPig EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Create SEO landing pages for your product attributes.</summary>
|
10 |
<description>This module allows you to create splash pages (landing pages) for your product attributes. These pages function much like category pages, allowing yo to display products, static blocks or both. The module works with the category navigation and layered navigation and includes fully customisable SEO URL's.</description>
|
11 |
+
<notes>Added fixes for FSeo</notes>
|
12 |
<authors><author><name>fishpig</name><user>fishpig</user><email>ben@fishpig.co.uk</email></author></authors>
|
13 |
+
<date>2014-09-24</date>
|
14 |
+
<time>22:14:40</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="AttributeSplash"><dir name="Block"><dir name="Adminhtml"><file name="Dashboard.php" hash="731dbb40a55071d02bd92e43473109fa"/><file name="Extend.php" hash="b953e4661405165bcf29b59aeda42a3b"/><dir name="Form"><dir name="Field"><file name="Urlkey.php" hash="b3f2e813188d6f8805b2caeb4f834bf6"/></dir></dir><dir name="Group"><dir name="Edit"><file name="Form.php" hash="fc927b79309df561773fe578fb1fad09"/><dir name="Tab"><file name="Abstract.php" hash="96e479a7eca8cb742f27a9eed619d65e"/><file name="Content.php" hash="30d24e08d83bb222f2b1a8169c4f3d48"/><file name="Design.php" hash="1fbc5babddc70729a1dcacb1fabbe034"/><file name="General.php" hash="c7c3d088f4a538c6b4d9a784aab88242"/><file name="Meta.php" hash="7058642a220347deeda6ea431fc054f1"/><file name="Seo.php" hash="a95471b43c44140ea07c24618f8b531e"/></dir><file name="Tabs.php" hash="b03a68cc45f8b68733d1627ab3538411"/></dir><file name="Edit.php" hash="79e7d29d23acd9c72ea37794c8d29231"/><file name="Grid.php" hash="de399b8df83efbc7d2442c9c0dc59ba4"/></dir><file name="Group.php" hash="7804d0272717593ef7afaa2261f7302c"/><dir name="Page"><dir name="Edit"><file name="Form.php" hash="ec8609e766d4e6e7176cc9e0c9e8b6bc"/><file name="Js.php" hash="45e4e33068189377e9bcac1a51b5ba47"/><dir name="Tab"><file name="Abstract.php" hash="577c17bec36fbffc6f8cd3231ba8a243"/><file name="Attributes.php" hash="dab45d890fa5566f8b940ced03ec48b1"/><file name="Content.php" hash="820db5968e8efcd80b8fcc70e74bff34"/><file name="Design.php" hash="48dc187093ec327a1877fb1ade16bb33"/><file name="General.php" hash="70c6893aca12ea2561cbf8119f19a799"/><file name="Images.php" hash="e1482076b30cfa9a60b71c5b9b9a68ac"/><file name="Meta.php" hash="c98f7455bfffe42a853d96e03fc38f07"/></dir><file name="Tabs.php" hash="59b6ef6fc4465a70cbb793b83a416910"/></dir><file name="Edit.php" hash="e381e3a218bab4fca9f73e13b38992ec"/><file name="Grid.php" hash="509c695f523f07d01a4932a55f1dbc1f"/><dir name="Helper"><file name="Image.php" hash="562c6c1db32c28dec6b82465515ca0ea"/></dir></dir><file name="Page.php" hash="563f0973d5ca0c292f47f0f58e9537e0"/><file name="Xmlsitemap.php" hash="2dad376de1cbb3315f0c21446f9d1388"/></dir><dir name="Group"><file name="View.php" hash="5c3cf0804007a5f74f5698dc80f78bbe"/></dir><dir name="Layer"><file name="View.php" hash="bb1151087d78fdbcda30bd28ed7cfa14"/></dir><dir name="Page"><dir name="View"><dir name="Product"><file name="List.php" hash="90d4af1ec0a4570f8677927ae71cc42c"/></dir></dir><file name="View.php" hash="dbb394a410de1cb4cb23c1bb45d6212b"/></dir></dir><dir name="Controller"><file name="Router.php" hash="ba23f63bcf040f6de68b59e7aa571958"/></dir><dir name="FPAdmin"><dir name="Block"><dir name="Adminhtml"><file name="Extend.php" hash="75e04a5ca9087172cfab1b98cad7b263"/></dir></dir><dir name="etc"><file name="config.xml" hash="b521b9303c7c8199e91cfda651dda1b1"/></dir><dir name="template"><file name="large.phtml" hash="0b2108b293d9dd694b2e31b0d3c84273"/><file name="small.phtml" hash="0aba9ac21006fa9f7811911d352bc89a"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1eddd61d55333c58771ab5147949393e"/><file name="Image.php" hash="ebffad52f40a213d5ec19f3918cd3c15"/></dir><dir name="Model"><file name="Abstract.php" hash="9972251190a2706c3e643180606049ac"/><file name="Group.php" hash="f131e5dca3b850a025b9b3c96d121be2"/><file name="Indexer.php" hash="41ad895ca63e0ebe96c5cd767f97b1d2"/><file name="Layer.php" hash="917e65bfa003edbb8b408c61fddf7d7a"/><file name="Observer.php" hash="f8828117fc4f10164cad52021f6de97f"/><file name="Page.php" hash="247a78c4095843e24015accc207b98eb"/><dir name="Resource"><file name="Abstract.php" hash="0bb194c43fc1340c54e2c983064fae69"/><dir name="Collection"><file name="Abstract.php" hash="47b5eca5bd1a3753fafce198bf803f16"/></dir><dir name="Group"><file name="Collection.php" hash="b6a383408392624d962a0b71f5c94116"/></dir><file name="Group.php" hash="2aaf88ce5f041db66d5a0dfb6c163a1f"/><dir name="Page"><file name="Collection.php" hash="389e342252a9066cf4da11c80937a233"/></dir><file name="Page.php" hash="c81d95f58d045ddda75484b4c361702a"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Attribute"><file name="Abstract.php" hash="9ddfa2eb83e6ec8d257bcd2d6977f384"/><file name="Splashable.php" hash="40fa08332ff34bc41e201c31b96d51fd"/><file name="Splashed.php" hash="946174a3acd8a0c8ea31c19d1d304f59"/></dir><file name="Layout.php" hash="f51ca8be6325f2e62a181c891b14cbfe"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="AttributeSplash"><file name="GroupController.php" hash="8d26473d6c81cd82ce415e9935b5c83e"/><file name="PageController.php" hash="95fd049a25cba8d583db5282bb53b3ac"/></dir><file name="AttributeSplashController.php" hash="6d29a91f64cff4f559b8c627a187adaf"/></dir><file name="GroupController.php" hash="9f25aa2a2019e3027370af6270fa1d38"/><file name="PageController.php" hash="87eed36981d16489060989397c80a9a9"/><file name="SitemapController.php" hash="09d50b324c03ad40c68a1aafbe42f279"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e23767be5435be89b79c1f67b99daf83"/><file name="config.xml" hash="ddc781f7352bf262e38dd16816ffe84f"/><file name="system.xml" hash="5f0aa3086d8307cdb8d2ab182d2e0da7"/></dir><file name="license.txt" hash="e8fb4ab53f05a8b4b7fea01d7d0df63b"/><file name="notes.txt" hash="f67832a71e7824202e789d4048b4ad1b"/><dir name="sql"><dir name="attributeSplash_setup"><file name="mysql4-upgrade-1.9.16-1.9.17.php" hash="b17056fe56a55367f3a4c78c47a16095"/><file name="mysql4-upgrade-1.9.5-1.9.6.php" hash="4ab561651fa49776d53ed07c415119fe"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="5e44951f6743161e4a966bb84dec5350"/><file name="mysql4-upgrade-2.0.12-2.0.13.php" hash="44e236b5c00275822f2766fb3aade050"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="da04923844a460181eb042ee865e898a"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="58f2c8462027ef87c6d002c2e7816762"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="b78dc758c2d8f11eb80e31652f92b317"/><file name="mysql4-upgrade-2.0.9-2.0.10.php" hash="d376bc97a149ff0ddac6b09b3eb466c4"/><file name="mysql4-upgrade-2.2.0.5-2.2.0.6.php" hash="b25fd508bc5cdc5058f1f88b02752c18"/><file name="mysql4-upgrade-2.2.0.7-2.2.0.8.php" hash="83cb47a19873315987be7811d9ace297"/><file name="mysql4-upgrade-2.2.0.8-2.2.0.9.php" hash="800a55579155ccae338b55b94a21106c"/><file name="mysql4-upgrade-2.2.1.0-2.2.1.1.php" hash="ccc977f076d9e2aef34a2aa02e3212b3"/><file name="mysql4-upgrade-2.2.1.1-2.2.1.2.php" hash="1f4021bd5efd583a9478790bddd77acc"/><file name="mysql4-upgrade-3.0.1.10-3.0.1.11.php" hash="687d031221740324a60fccb26fd12fea"/><file name="mysql4-upgrade-3.0.1.9-3.0.1.10.php" hash="f95f086b8a6856a0cff4d7a9defb9656"/><file name="mysql4-upgrade-3.0.4.0-3.0.5.0.php" hash="fe33155d0140875eba7b204a969bcc62"/><file name="mysql4-upgrade-3.1.1.0-3.1.2.0.php" hash="6ea402356d9faa250d5231725f8944b1"/><file name="mysql4-upgrade-3.3.3.0-3.3.4.0.php" hash="52d4acdb41e63f5b0a6f207048547569"/><file name="mysql4-upgrade-3.3.6.2-3.3.6.3.php" hash="003475ce5b5f3495a4433b827f3d54cb"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="attribute-splash.xml" hash="d7a57972d4a657c1d9acf77dade557c9"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="attribute-splash.xml" hash="6810e9a7e3135f390dc03c6f8beb067d"/></dir><dir name="template"><dir name="attribute-splash"><dir><dir name="group"><file name="view.phtml" hash="53b43ec1f23e6a0498be9b09f9b0e80e"/></dir><dir name="page"><file name="view.phtml" hash="7cf47164bc5d140de566294a93942677"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Fishpig_AttributeSplash.xml" hash="80fa9d54cefcd44305240d05508a56ee"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="attribute-splash.css" hash="c3b1103f0174a7b17496aaf75a2b4e78"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|