Catalog_Search_Refinement - Version 1.0.3

Version Notes

Fixed the package as it was reported broken by some users.

Download this release

Release Info

Developer Activo Extensions
Extension Catalog_Search_Refinement
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.3

app/code/community/Activo/News/Model/Feed.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Activo
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Commercial Software License
8
+ * that is available through the world-wide-web at this URL:
9
+ * http://extensions.activo.com/license_professional
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to extensions@activo.com so we can send you a copy immediately.
13
+ *
14
+ * @category
15
+ * @package news
16
+ * @copyright Copyright (c) 2012 Activo Inc. (http://www.activo.com)
17
+ * @license Open Source
18
+ */
19
+
20
+ //http://www.nicksays.co.uk/2009/05/magento-custom-admin-notifications/
21
+ class Activo_News_Model_Feed extends Mage_AdminNotification_Model_Feed
22
+ {
23
+ /**
24
+ * Retrieve feed url
25
+ *
26
+ * @return string
27
+ */
28
+ public function getFeedUrl()
29
+ {
30
+ if (is_null($this->_feedUrl)) {
31
+ $this->_feedUrl = 'http://extensions.activo.com/adminrss.php?s='.Mage::getStoreConfig(Mage_Core_Model_Url::XML_PATH_UNSECURE_URL);
32
+ }
33
+ return $this->_feedUrl;
34
+ }
35
+
36
+ public function observe()
37
+ {
38
+ $model = Mage::getModel('news/feed');
39
+ $model->checkUpdate();
40
+ }
41
+
42
+ // public function getFrequency()
43
+ // {
44
+ // return 1;
45
+ // }
46
+
47
+ }
app/code/community/Activo/News/etc/config.xml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Activo
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Commercial Software License
9
+ * that is available through the world-wide-web at this URL:
10
+ * http://extensions.activo.com/license_professional
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to extensions@activo.com so we can send you a copy immediately.
14
+ *
15
+ * @category
16
+ * @package news
17
+ * @copyright Copyright (c) 2012 Activo Inc. (http://www.activo.com)
18
+ * @license Open Source
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <Activo_News>
24
+ <version>1.0.0</version>
25
+ </Activo_News>
26
+ </modules>
27
+ <global>
28
+ <models>
29
+ <news>
30
+ <class>Activo_News_Model</class>
31
+ </news>
32
+ </models>
33
+ </global>
34
+ <adminhtml>
35
+ <events>
36
+ <controller_action_predispatch>
37
+ <observers>
38
+ <activo_news>
39
+ <type>singleton</type>
40
+ <class>news/feed</class>
41
+ <method>observe</method>
42
+ </activo_news>
43
+ </observers>
44
+ </controller_action_predispatch>
45
+ </events>
46
+ </adminhtml>
47
+ </config>
app/etc/modules/Activo_CatalogSearch.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Activo_CatalogSearch>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Activo_CatalogSearch>
8
+ </modules>
9
+ </config>
app/etc/modules/Activo_News.xml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Activo
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Commercial Software License
9
+ * that is available through the world-wide-web at this URL:
10
+ * http://extensions.activo.com/license_professional
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to extensions@activo.com so we can send you a copy immediately.
14
+ *
15
+ * @category
16
+ * @package news
17
+ * @copyright Copyright (c) 2012 Activo Inc. (http://www.activo.com)
18
+ * @license Open Source
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <Activo_News>
24
+ <active>true</active>
25
+ <codePool>community</codePool>
26
+ <depends>
27
+ <Mage_AdminNotification />
28
+ </depends>
29
+ </Activo_News>
30
+ </modules>
31
+ </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Catalog_Search_Refinement</name>
4
- <version>1.0.0</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>Initial stable release</notes>
12
  <authors><author><name>Activo Extensions</name><user>activo</user><email>extensions@activo.com</email></author></authors>
13
- <date>2011-08-26</date>
14
- <time>20:38:31</time>
15
- <contents><target name="magecommunity"><dir name="Activo"><dir name="CatalogSearch"><dir><dir name="Model"><dir name="Mysql4"><file name="Fulltext.php" hash="ac145be8a5ae275eac97f361df0bd4ca"/></dir></dir><dir name="etc"><file name="config.xml" hash="27e29e4850087bc3ff27bd517281e8c2"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_CatalogSearch</name><channel>core</channel><min>0.1.0</min><max>2.0.0</max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Catalog_Search_Refinement</name>
4
+ <version>1.0.3</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>Fixed the package as it was reported broken by some users.</notes>
12
  <authors><author><name>Activo Extensions</name><user>activo</user><email>extensions@activo.com</email></author></authors>
13
+ <date>2012-10-16</date>
14
+ <time>23:08:54</time>
15
+ <contents><target name="magecommunity"><dir name="Activo"><dir name="CatalogSearch"><dir><dir name="Model"><dir name="Mysql4"><file name="Fulltext.php" hash="ac145be8a5ae275eac97f361df0bd4ca"/></dir></dir><dir name="etc"><file name="config.xml" hash="27e29e4850087bc3ff27bd517281e8c2"/></dir></dir></dir><dir name="News"><dir><dir name="Model"><file name="Feed.php" hash="3ac6617af7eaceb5cac373a4f13a8b1b"/></dir><dir name="etc"><file name="config.xml" hash="16cfd0b7ac1e67d0d3534b99a6c1e512"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Activo_CatalogSearch.xml" hash="806d0b66144cbe87baf556b372f4b4e3"/><file name="Activo_News.xml" hash="1c8b4c7e70aa752c05241df66dd5d29b"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_CatalogSearch</name><channel>core</channel><min>0.1.0</min><max>2.0.0</max></package></required></dependencies>
18
  </package>