Catalin_Seo - Version 2.0.2

Version Notes

Fixed problem with search: errors when no products are found.

Download this release

Release Info

Developer Catalin Ciobanu
Extension Catalin_Seo
Version 2.0.2
Comparing to
See all releases


Code changes from version 2.0.1 to 2.0.2

Files changed (37) hide show
  1. app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Attribute.php +0 -0
  2. app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Price.php +0 -0
  3. app/code/community/Catalin/SEO/Block/Catalog/Layer/State.php +0 -0
  4. app/code/community/Catalin/SEO/Block/Catalog/Product/List/Pager.php +0 -0
  5. app/code/community/Catalin/SEO/Block/Catalog/Product/List/Toolbar.php +0 -0
  6. app/code/community/Catalin/SEO/Block/CatalogSearch/Layer/Filter/Attribute.php +0 -0
  7. app/code/community/Catalin/SEO/Controller/Router.php +0 -0
  8. app/code/community/Catalin/SEO/Helper/Data.php +0 -0
  9. app/code/community/Catalin/SEO/Model/Catalog/Layer.php +5 -3
  10. app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Attribute.php +0 -0
  11. app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Category.php +0 -0
  12. app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Item.php +0 -0
  13. app/code/community/Catalin/SEO/Model/Catalog/Resource/Layer/Filter/Attribute.php +0 -0
  14. app/code/community/Catalin/SEO/Model/CatalogSearch/Layer.php +0 -0
  15. app/code/community/Catalin/SEO/Model/CatalogSearch/Layer/Filter/Attribute.php +0 -0
  16. app/code/community/Catalin/SEO/Model/Indexer/Attribute.php +0 -0
  17. app/code/community/Catalin/SEO/Model/Resource/Attribute/Urlkey.php +0 -0
  18. app/code/community/Catalin/SEO/Model/Resource/Indexer/Attribute.php +0 -0
  19. app/code/community/Catalin/SEO/Model/System/Config/Backend/Seo/Catalog.php +0 -0
  20. app/code/community/Catalin/SEO/Model/System/Config/Source/Slider/Submit/Type.php +0 -0
  21. app/code/community/Catalin/SEO/controllers/CategoryController.php +0 -0
  22. app/code/community/Catalin/SEO/controllers/ResultController.php +0 -0
  23. app/code/community/Catalin/SEO/etc/adminhtml.xml +0 -0
  24. app/code/community/Catalin/SEO/etc/config.xml +0 -0
  25. app/code/community/Catalin/SEO/etc/system.xml +0 -0
  26. app/code/community/Catalin/SEO/sql/catalin_seo_setup/install-2.0.0.php +0 -0
  27. app/design/frontend/default/default/layout/catalin_seo.xml +0 -0
  28. app/design/frontend/default/default/template/catalin_seo/catalog/layer/filter.phtml +0 -0
  29. app/design/frontend/default/default/template/catalin_seo/catalog/layer/price.phtml +0 -0
  30. app/design/frontend/default/default/template/catalin_seo/catalog/layer/view.phtml +0 -0
  31. app/design/frontend/default/default/template/catalin_seo/catalog/product/list.phtml +0 -0
  32. app/etc/modules/Catalin_SEO.xml +0 -0
  33. package.xml +4 -5
  34. skin/frontend/default/default/css/price_slider/style.css +0 -0
  35. skin/frontend/default/default/images/price_slider/bkg_slider.png +0 -0
  36. skin/frontend/default/default/images/price_slider/slider.png +0 -0
  37. skin/frontend/default/default/js/catalin_seo/native.history.js +0 -0
app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Block/Catalog/Layer/Filter/Price.php CHANGED
File without changes
app/code/community/Catalin/SEO/Block/Catalog/Layer/State.php CHANGED
File without changes
app/code/community/Catalin/SEO/Block/Catalog/Product/List/Pager.php CHANGED
File without changes
app/code/community/Catalin/SEO/Block/Catalog/Product/List/Toolbar.php CHANGED
File without changes
app/code/community/Catalin/SEO/Block/CatalogSearch/Layer/Filter/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Controller/Router.php CHANGED
File without changes
app/code/community/Catalin/SEO/Helper/Data.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Catalog/Layer.php CHANGED
@@ -26,9 +26,11 @@ class Catalin_SEO_Model_Catalog_Layer extends Mage_Catalog_Model_Layer
26
  {
27
  $collection = parent::getFilterableAttributes();
28
 
29
- // Load them at once - one query at once not multiple
30
- $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey');
31
- $attrUrlKeyModel->preloadAttributesOptions($collection);
 
 
32
 
33
  return $collection;
34
  }
26
  {
27
  $collection = parent::getFilterableAttributes();
28
 
29
+ if (!empty($collection)) {
30
+ // Load them at once - one query at once not multiple
31
+ $attrUrlKeyModel = Mage::getResourceModel('catalin_seo/attribute_urlkey');
32
+ $attrUrlKeyModel->preloadAttributesOptions($collection);
33
+ }
34
 
35
  return $collection;
36
  }
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Category.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Item.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Catalog/Resource/Layer/Filter/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/CatalogSearch/Layer.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/CatalogSearch/Layer/Filter/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Indexer/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Resource/Attribute/Urlkey.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/Resource/Indexer/Attribute.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/System/Config/Backend/Seo/Catalog.php CHANGED
File without changes
app/code/community/Catalin/SEO/Model/System/Config/Source/Slider/Submit/Type.php CHANGED
File without changes
app/code/community/Catalin/SEO/controllers/CategoryController.php CHANGED
File without changes
app/code/community/Catalin/SEO/controllers/ResultController.php CHANGED
File without changes
app/code/community/Catalin/SEO/etc/adminhtml.xml CHANGED
File without changes
app/code/community/Catalin/SEO/etc/config.xml CHANGED
File without changes
app/code/community/Catalin/SEO/etc/system.xml CHANGED
File without changes
app/code/community/Catalin/SEO/sql/catalin_seo_setup/install-2.0.0.php CHANGED
File without changes
app/design/frontend/default/default/layout/catalin_seo.xml CHANGED
File without changes
app/design/frontend/default/default/template/catalin_seo/catalog/layer/filter.phtml CHANGED
File without changes
app/design/frontend/default/default/template/catalin_seo/catalog/layer/price.phtml CHANGED
File without changes
app/design/frontend/default/default/template/catalin_seo/catalog/layer/view.phtml CHANGED
File without changes
app/design/frontend/default/default/template/catalin_seo/catalog/product/list.phtml CHANGED
File without changes
app/etc/modules/Catalin_SEO.xml CHANGED
File without changes
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Catalin_Seo</name>
4
- <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
@@ -16,11 +16,10 @@
16
  &lt;li&gt;multiple filters for the same attribute&lt;/li&gt;&#xD;
17
  &lt;/ul&gt;&#xD;
18
  &lt;p&gt;All the above features can be enabled/disabled from backend from "System -&gt; Configuration -&gt; Catalin SEO -&gt; Catalog Layered Navigation"&lt;/p&gt;</description>
19
- <notes>- Fixed price slider filtering: doesn't remove previous filters anymore.&#xD;
20
- - Fixed ___SID=U in URLs after AJAX call.</notes>
21
  <authors><author><name>Catalin Ciobanu</name><user>catalin_ciobanu</user><email>ciobanu.catalin@yahoo.com</email></author></authors>
22
- <date>2013-02-16</date>
23
- <time>15:49:49</time>
24
  <contents><target name="magecommunity"><dir name="Catalin"><dir name="SEO"><dir name="Block"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="decdc5633827964ff7aba28f8e8f89ff"/><file name="Price.php" hash="fb413c30cfd742818757beb88264fd68"/></dir><file name="State.php" hash="fd21c5a6603427ae81e7eddbef3d827f"/></dir><dir name="Product"><dir name="List"><file name="Pager.php" hash="7720a417475b5a512d383fd06242e43a"/><file name="Toolbar.php" hash="1624c89efb4f94ed1f35622c70fd3d9a"/></dir></dir></dir><dir name="CatalogSearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="008e737de084f5a400518bda4dda09f8"/></dir></dir></dir></dir><dir name="Controller"><file name="Router.php" hash="a1fae53e03202bb9f08ea9063b4163e6"/></dir><dir name="Helper"><file name="Data.php" hash="46f65d3605c9dd11640a3b9a1e87219c"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="17dde650381b5a65dd1c3fc6d942bb2a"/><file name="Category.php" hash="5a5b4213e521b0fd33cc7623435dd3aa"/><file name="Item.php" hash="13654b27109eebf1a6c619e5629bfb5e"/></dir></dir><file name="Layer.php" hash="32e0397c7eea8dacc421f3f2e1b5273a"/><dir name="Resource"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="7f235b63e342d77b18da3ffffd97de10"/></dir></dir></dir></dir><dir name="CatalogSearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="10d9f2ce5066e42a3338c1a6018f2643"/></dir></dir><file name="Layer.php" hash="3f980ee1a82354d0bd65edde410a2818"/></dir><dir name="Indexer"><file name="Attribute.php" hash="9d5bd74b9c9204c4aee3fd6f0478688b"/></dir><dir name="Resource"><dir name="Attribute"><file name="Urlkey.php" hash="485538d19fad7b7b5b647feb220e5c03"/></dir><dir name="Indexer"><file name="Attribute.php" hash="645ebc0fe5ee7a461c06d805a529b678"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Seo"><file name="Catalog.php" hash="233ca11b938d6198b5a4400a2c5e1d61"/></dir></dir><dir name="Source"><dir name="Slider"><dir name="Submit"><file name="Type.php" hash="cb2383c3568982b09e4878735e598fca"/></dir></dir></dir></dir></dir></dir><dir name="controllers"><file name="CategoryController.php" hash="6d34f9ca5e73384c14f8dd98e0991629"/><file name="ResultController.php" hash="5e520cd6609a0c5f474d956c6a089f89"/></dir><dir name="etc"><file name="adminhtml.xml" hash="240f607b0156d1de84667b382ba3f73c"/><file name="config.xml" hash="f492966665665d3594f5a84ace4b4abd"/><file name="system.xml" hash="92e698eebc986af7d98f9676138730cd"/></dir><dir name="sql"><dir name="catalin_seo_setup"><file name="install-2.0.0.php" hash="1f1e47269b9658b4a3f53cb17ba728e1"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="catalin_seo.xml" hash="17f80ca298cc0093ef29f69d02e8117b"/></dir><dir name="template"><dir name="catalin_seo"><dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="dd1d3278e691814f0cd242179e5bf53f"/><file name="price.phtml" hash="bcfe4e9c750c9b45c30f4c1242067dc1"/><file name="view.phtml" hash="bc5f21109be4dab996b152e7a756fe03"/></dir><dir name="product"><file name="list.phtml" hash="8228c48a98c8cca4c2ab18cd2df99239"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="price_slider"><file name="style.css" hash="61d0b59ed239bc64deaf4aed969652cd"/></dir></dir><dir name="images"><dir name="price_slider"><file name="bkg_slider.png" hash="1b7a1eb7add1d2b2002501f4602c3d3e"/><file name="slider.png" hash="d77b417b68ba91402c3b7180b165110c"/></dir></dir><dir name="js"><dir name="catalin_seo"><file name="native.history.js" hash="ee04bc106db73bdbe17a0eac44497df1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Catalin_SEO.xml" hash="e0ad01abfe976aefb6587fcfb3bf0d2b"/></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Catalin_Seo</name>
4
+ <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
16
  &lt;li&gt;multiple filters for the same attribute&lt;/li&gt;&#xD;
17
  &lt;/ul&gt;&#xD;
18
  &lt;p&gt;All the above features can be enabled/disabled from backend from "System -&gt; Configuration -&gt; Catalin SEO -&gt; Catalog Layered Navigation"&lt;/p&gt;</description>
19
+ <notes>Fixed problem with search: errors when no products are found.</notes>
 
20
  <authors><author><name>Catalin Ciobanu</name><user>catalin_ciobanu</user><email>ciobanu.catalin@yahoo.com</email></author></authors>
21
+ <date>2013-02-20</date>
22
+ <time>11:00:00</time>
23
  <contents><target name="magecommunity"><dir name="Catalin"><dir name="SEO"><dir name="Block"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="decdc5633827964ff7aba28f8e8f89ff"/><file name="Price.php" hash="fb413c30cfd742818757beb88264fd68"/></dir><file name="State.php" hash="fd21c5a6603427ae81e7eddbef3d827f"/></dir><dir name="Product"><dir name="List"><file name="Pager.php" hash="7720a417475b5a512d383fd06242e43a"/><file name="Toolbar.php" hash="1624c89efb4f94ed1f35622c70fd3d9a"/></dir></dir></dir><dir name="CatalogSearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="008e737de084f5a400518bda4dda09f8"/></dir></dir></dir></dir><dir name="Controller"><file name="Router.php" hash="a1fae53e03202bb9f08ea9063b4163e6"/></dir><dir name="Helper"><file name="Data.php" hash="46f65d3605c9dd11640a3b9a1e87219c"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="17dde650381b5a65dd1c3fc6d942bb2a"/><file name="Category.php" hash="5a5b4213e521b0fd33cc7623435dd3aa"/><file name="Item.php" hash="13654b27109eebf1a6c619e5629bfb5e"/></dir></dir><file name="Layer.php" hash="32e0397c7eea8dacc421f3f2e1b5273a"/><dir name="Resource"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="7f235b63e342d77b18da3ffffd97de10"/></dir></dir></dir></dir><dir name="CatalogSearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="10d9f2ce5066e42a3338c1a6018f2643"/></dir></dir><file name="Layer.php" hash="3f980ee1a82354d0bd65edde410a2818"/></dir><dir name="Indexer"><file name="Attribute.php" hash="9d5bd74b9c9204c4aee3fd6f0478688b"/></dir><dir name="Resource"><dir name="Attribute"><file name="Urlkey.php" hash="485538d19fad7b7b5b647feb220e5c03"/></dir><dir name="Indexer"><file name="Attribute.php" hash="645ebc0fe5ee7a461c06d805a529b678"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Seo"><file name="Catalog.php" hash="233ca11b938d6198b5a4400a2c5e1d61"/></dir></dir><dir name="Source"><dir name="Slider"><dir name="Submit"><file name="Type.php" hash="cb2383c3568982b09e4878735e598fca"/></dir></dir></dir></dir></dir></dir><dir name="controllers"><file name="CategoryController.php" hash="6d34f9ca5e73384c14f8dd98e0991629"/><file name="ResultController.php" hash="5e520cd6609a0c5f474d956c6a089f89"/></dir><dir name="etc"><file name="adminhtml.xml" hash="240f607b0156d1de84667b382ba3f73c"/><file name="config.xml" hash="f492966665665d3594f5a84ace4b4abd"/><file name="system.xml" hash="92e698eebc986af7d98f9676138730cd"/></dir><dir name="sql"><dir name="catalin_seo_setup"><file name="install-2.0.0.php" hash="1f1e47269b9658b4a3f53cb17ba728e1"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="catalin_seo.xml" hash="17f80ca298cc0093ef29f69d02e8117b"/></dir><dir name="template"><dir name="catalin_seo"><dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="dd1d3278e691814f0cd242179e5bf53f"/><file name="price.phtml" hash="bcfe4e9c750c9b45c30f4c1242067dc1"/><file name="view.phtml" hash="bc5f21109be4dab996b152e7a756fe03"/></dir><dir name="product"><file name="list.phtml" hash="8228c48a98c8cca4c2ab18cd2df99239"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="price_slider"><file name="style.css" hash="61d0b59ed239bc64deaf4aed969652cd"/></dir></dir><dir name="images"><dir name="price_slider"><file name="bkg_slider.png" hash="1b7a1eb7add1d2b2002501f4602c3d3e"/><file name="slider.png" hash="d77b417b68ba91402c3b7180b165110c"/></dir></dir><dir name="js"><dir name="catalin_seo"><file name="native.history.js" hash="ee04bc106db73bdbe17a0eac44497df1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Catalin_SEO.xml" hash="e0ad01abfe976aefb6587fcfb3bf0d2b"/></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
skin/frontend/default/default/css/price_slider/style.css CHANGED
File without changes
skin/frontend/default/default/images/price_slider/bkg_slider.png CHANGED
File without changes
skin/frontend/default/default/images/price_slider/slider.png CHANGED
File without changes
skin/frontend/default/default/js/catalin_seo/native.history.js CHANGED
File without changes