Version Notes
This version works properly on Magento versions 1.5.x.x, 1.6.x.x, and 1.7.x.x.
Download this release
Release Info
| Developer | Activo Extensions |
| Extension | Catalog_Search_Refinement |
| Version | 1.0.7 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.5 to 1.0.7
app/code/community/Activo/CatalogSearch/Model/Feed.php
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Activo Extensions
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Activo Commercial License
|
| 8 |
+
* that is available through the world-wide-web at this URL:
|
| 9 |
+
* http://extensions.activo.com/license_professional
|
| 10 |
+
*
|
| 11 |
+
* @copyright Copyright (c) 2013 Activo Extensions (http://extensions.activo.com)
|
| 12 |
+
* @license OSL 3.0
|
| 13 |
+
*/
|
| 14 |
+
|
| 15 |
+
//http://www.nicksays.co.uk/2009/05/magento-custom-admin-notifications/
|
| 16 |
+
class Activo_CatalogSearch_Model_Feed extends Mage_AdminNotification_Model_Feed
|
| 17 |
+
{
|
| 18 |
+
public function getFeedUrl()
|
| 19 |
+
{
|
| 20 |
+
preg_match('/(.*)_Model_Feed/', get_class($this), $matches);
|
| 21 |
+
$module = isset($matches[1]) ? $matches[1] : "";
|
| 22 |
+
|
| 23 |
+
if (is_null($this->_feedUrl)) {
|
| 24 |
+
$this->_feedUrl = 'http://extensions.activo.com/adminrss.php?s='
|
| 25 |
+
.urlencode(Mage::getStoreConfig(Mage_Core_Model_Url::XML_PATH_UNSECURE_URL))
|
| 26 |
+
.'&m='. $module;
|
| 27 |
+
// Mage::log($this->_feedUrl);
|
| 28 |
+
}
|
| 29 |
+
return $this->_feedUrl;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
public function observe()
|
| 33 |
+
{
|
| 34 |
+
$model = Mage::getModel('catalogsearch2/feed');
|
| 35 |
+
$model->checkUpdate();
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
// public function getFrequency()
|
| 39 |
+
// {
|
| 40 |
+
// return 1;
|
| 41 |
+
// }
|
| 42 |
+
|
| 43 |
+
}
|
app/code/community/Activo/CatalogSearch/etc/config.xml
CHANGED
|
@@ -1,17 +1,53 @@
|
|
| 1 |
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
<config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
<global>
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
</config>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
/**
|
| 4 |
+
* Activo Extensions
|
| 5 |
+
*
|
| 6 |
+
* NOTICE OF LICENSE
|
| 7 |
+
*
|
| 8 |
+
* This source file is subject to the Activo Commercial License
|
| 9 |
+
* that is available through the world-wide-web at this URL:
|
| 10 |
+
* http://extensions.activo.com/license_professional
|
| 11 |
+
*
|
| 12 |
+
* @copyright Copyright (c) 2013 Activo Extensions (http://extensions.activo.com)
|
| 13 |
+
* @license OSL 3.0
|
| 14 |
+
*/
|
| 15 |
+
-->
|
| 16 |
<config>
|
| 17 |
+
<modules>
|
| 18 |
+
<Activo_CatalogSearch>
|
| 19 |
+
<version>1.0.7</version>
|
| 20 |
+
</Activo_CatalogSearch>
|
| 21 |
+
</modules>
|
| 22 |
<global>
|
| 23 |
+
<models>
|
| 24 |
+
<catalogsearch2>
|
| 25 |
+
<class>Activo_CatalogSearch_Model</class>
|
| 26 |
+
</catalogsearch2>
|
| 27 |
+
<catalogsearch_mysql4>
|
| 28 |
+
<rewrite>
|
| 29 |
+
<fulltext>Activo_CatalogSearch_Model_Mysql4_Fulltext</fulltext>
|
| 30 |
+
</rewrite>
|
| 31 |
+
</catalogsearch_mysql4>
|
| 32 |
+
<catalogsearch_resource>
|
| 33 |
+
<rewrite>
|
| 34 |
+
<fulltext>Activo_CatalogSearch_Model_Resource_Fulltext</fulltext>
|
| 35 |
+
</rewrite>
|
| 36 |
+
</catalogsearch_resource>
|
| 37 |
+
</models>
|
| 38 |
+
</global>
|
| 39 |
+
|
| 40 |
+
<adminhtml>
|
| 41 |
+
<events>
|
| 42 |
+
<controller_action_predispatch>
|
| 43 |
+
<observers>
|
| 44 |
+
<activo_news_cs>
|
| 45 |
+
<type>singleton</type>
|
| 46 |
+
<class>catalogsearch2/feed</class>
|
| 47 |
+
<method>observe</method>
|
| 48 |
+
</activo_news_cs>
|
| 49 |
+
</observers>
|
| 50 |
+
</controller_action_predispatch>
|
| 51 |
+
</events>
|
| 52 |
+
</adminhtml>
|
| 53 |
</config>
|
package.xml
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Catalog_Search_Refinement</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Allow your users to refine their search when they add a search term for FREE!</summary>
|
| 10 |
<description>Allow your users to refine their search when they add a search term for FREE! This is a free and open source magento extension that modifies the Magento default search functionality to allow search refinement.</description>
|
| 11 |
-
<notes>
|
| 12 |
</notes>
|
| 13 |
<authors><author><name>Activo Extensions</name><user>activo</user><email>extensions@activo.com</email></author></authors>
|
| 14 |
-
<date>
|
| 15 |
-
<time>
|
| 16 |
-
<contents><target name="magecommunity"><dir name="Activo"><dir name="CatalogSearch"><dir><dir name="Model"><dir name="Mysql4"><file name="Fulltext.php" hash="02a4bf6cc5090de8605a242612f850ab"/></dir><dir name="Resource"><file name="Fulltext.php" hash="71d88eccccce4fabca70935b7a1763b2"/></dir></dir><dir name="etc"><file name="config.xml" hash="
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Catalog_Search_Refinement</name>
|
| 4 |
+
<version>1.0.7</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Allow your users to refine their search when they add a search term for FREE!</summary>
|
| 10 |
<description>Allow your users to refine their search when they add a search term for FREE! This is a free and open source magento extension that modifies the Magento default search functionality to allow search refinement.</description>
|
| 11 |
+
<notes>This version works properly on Magento versions 1.5.x.x, 1.6.x.x, and 1.7.x.x.
|
| 12 |
</notes>
|
| 13 |
<authors><author><name>Activo Extensions</name><user>activo</user><email>extensions@activo.com</email></author></authors>
|
| 14 |
+
<date>2013-06-26</date>
|
| 15 |
+
<time>22:43:19</time>
|
| 16 |
+
<contents><target name="magecommunity"><dir name="Activo"><dir name="CatalogSearch"><dir><dir name="Model"><file name="Feed.php" hash="cee1c02d96d69a8c619224303bcabf8a"/><dir name="Mysql4"><file name="Fulltext.php" hash="02a4bf6cc5090de8605a242612f850ab"/></dir><dir name="Resource"><file name="Fulltext.php" hash="71d88eccccce4fabca70935b7a1763b2"/></dir></dir><dir name="etc"><file name="config.xml" hash="a28928d5866b85fef69745d3914a2333"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Activo_CatalogSearch.xml" hash="806d0b66144cbe87baf556b372f4b4e3"/></dir></target></contents>
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
