ProductInstantSearch - Version 0.1.2

Version Notes

Instant_search

Download this release

Release Info

Developer Magestore
Extension ProductInstantSearch
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.2

app/code/local/Magestore/Instantsearch/Block/Instantsearch.php CHANGED
@@ -5,7 +5,7 @@ class Magestore_Instantsearch_Block_Instantsearch extends Mage_Core_Block_Templa
5
  {
6
  return parent::_prepareLayout();
7
  }
8
-
9
  public function setTopSearchTemplate($template)
10
  {
11
  if(!Mage::helper('magenotification')->checkLicenseKey('Instantsearch')){
@@ -17,5 +17,6 @@ class Magestore_Instantsearch_Block_Instantsearch extends Mage_Core_Block_Templa
17
  $topSearch->setTemplate($template);
18
  }
19
  return $this;
20
- }
 
21
  }
5
  {
6
  return parent::_prepareLayout();
7
  }
8
+
9
  public function setTopSearchTemplate($template)
10
  {
11
  if(!Mage::helper('magenotification')->checkLicenseKey('Instantsearch')){
17
  $topSearch->setTemplate($template);
18
  }
19
  return $this;
20
+ }
21
+
22
  }
app/code/local/Magestore/Instantsearch/Helper/Catalogsearch.php CHANGED
@@ -22,6 +22,6 @@ class Magestore_Instantsearch_Helper_Catalogsearch extends Mage_CatalogSearch_He
22
  }
23
  public function getResultInstantSearch($query = null)
24
  {
25
-
26
  }
27
  }
22
  }
23
  public function getResultInstantSearch($query = null)
24
  {
25
+ return $this->_getUrl('instantsearch');
26
  }
27
  }
app/code/local/Magestore/Instantsearch/controllers/IndexController.php CHANGED
@@ -21,7 +21,6 @@ class Magestore_Instantsearch_IndexController extends Mage_Core_Controller_Front
21
  if(!Mage::helper('magenotification')->checkLicenseKey('Instantsearch')){
22
  return;
23
  }
24
-
25
  $keyword = $this->getRequest()->getPost('keyword');
26
 
27
  $products = Mage::helper("instantsearch")->getSearchProduct($keyword);
21
  if(!Mage::helper('magenotification')->checkLicenseKey('Instantsearch')){
22
  return;
23
  }
 
24
  $keyword = $this->getRequest()->getPost('keyword');
25
 
26
  $products = Mage::helper("instantsearch")->getSearchProduct($keyword);
app/code/local/Magestore/Instantsearch/etc/config.xml CHANGED
@@ -76,6 +76,7 @@
76
  </events>
77
  </adminhtml>
78
  <global>
 
79
  <models>
80
  <instantsearch>
81
  <class>Magestore_Instantsearch_Model</class>
76
  </events>
77
  </adminhtml>
78
  <global>
79
+
80
  <models>
81
  <instantsearch>
82
  <class>Magestore_Instantsearch_Model</class>
app/design/frontend/default/default/layout/instantsearch.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <default>
4
- <reference name="head">
5
  <action method="addCss"><stylesheet>css/magestore/instantsearch.css</stylesheet></action>
6
  </reference>
7
  <reference name="top.search">
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <default>
4
+ <reference name="head">
5
  <action method="addCss"><stylesheet>css/magestore/instantsearch.css</stylesheet></action>
6
  </reference>
7
  <reference name="top.search">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ProductInstantSearch</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
  <channel>community</channel>
@@ -9,10 +9,10 @@
9
  <summary>Instant_search</summary>
10
  <description>Instant_search</description>
11
  <notes>Instant_search</notes>
12
- <authors><author><name>magestore</name><user>auto-converted</user><email>info@magestore.com</email></author></authors>
13
  <date>2012-07-14</date>
14
- <time>02:15:13</time>
15
- <contents><target name="magelocal"><dir name="Magestore"><dir name="Instantsearch"><dir name="Block"><file name="Instantsearch.php" hash="355dcc5d2ec8effcac612c9ba514b53a"/></dir><dir name="Helper"><file name="Catalogsearch.php" hash="b1fcd69b8e9e465d07edc9aed796697e"/><file name="Data.php" hash="dc25cef25d343f2f6d090ef46573d4f9"/></dir><dir name="Model"><file name="Descriptiontype.php" hash="1b5e6dfbfa8f8c9f79b76257a9f7d48a"/><file name="Observer.php" hash="68aa6dec3596f27ff18b1e7bba4ce1c7"/></dir><dir name="controllers"><file name="IndexController.php" hash="e5e4e4eb18f7789208a0c5bb607a938e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3c6438f5dcd2fab19c479596515e97b7"/><file name="config.xml" hash="c1d9951249359329dccc25d4424de5c1"/><file name="system.xml" hash="c65e223eda6115ea941496914b8e0ef2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="instantsearch.xml" hash="e3018e890043a20602d5fdf8398858db"/></dir><dir name="template"><dir name="instantsearch"><file name="instantsearch.phtml" hash="97415b1bb8986842c80ce0ed41c8e57e"/><file name="view.phtml" hash="9e75721eb5b1f9d4d5e834df5dd3a0f5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magestore_Instantsearch.xml" hash="fa29090e466dd75a516a5f62bc726281"/></dir></target><target name="mage"><dir name="js"><dir name="magestore"><file name="instantsearch.js" hash="b7302ba745ff3b3bd2e909ca2421ef33"/><file name="viewinstantsearch.js" hash="8389b3c2b9259ca38d6daff2bdb5f04f"/></dir><dir name="tinybox"><file name="tinybox.js" hash="2ca7fcb7fefc5e8d85887f3c6dc6e315"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="tinybox"><dir name="images"><file name="Thumbs.db" hash="11fb2793c09da50437dcdfe0c4bd6333"/><file name="preload.gif" hash="bf3ec68db23e93ba2ec795ef558e96da"/><file name="rhino.jpg" hash="d00bad1ec05584e10a5601ec103aff72"/></dir><file name="style.css" hash="e3016ee232fbf3c6f780255002703237"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="magestore"><file name="instantsearch.css" hash="c3a45447088a63673e53ae801f6ebf2f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ProductInstantSearch</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
  <channel>community</channel>
9
  <summary>Instant_search</summary>
10
  <description>Instant_search</description>
11
  <notes>Instant_search</notes>
12
+ <authors><author><name>magestore</name><user>magestore</user><email>info@magestore.com</email></author></authors>
13
  <date>2012-07-14</date>
14
+ <time>02:25:19</time>
15
+ <contents><target name="magelocal"><dir name="Magestore"><dir name="Instantsearch"><dir name="Block"><file name="Instantsearch.php" hash="1d5a139a86b18d5be31e1d93d5d9d631"/></dir><dir name="Helper"><file name="Catalogsearch.php" hash="fc32672e86dffb1f269eda46bae31d2a"/><file name="Data.php" hash="dc25cef25d343f2f6d090ef46573d4f9"/></dir><dir name="Model"><file name="Descriptiontype.php" hash="1b5e6dfbfa8f8c9f79b76257a9f7d48a"/><file name="Observer.php" hash="68aa6dec3596f27ff18b1e7bba4ce1c7"/></dir><dir name="controllers"><file name="IndexController.php" hash="a026d3563fc15844088ac4bce542cc17"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3c6438f5dcd2fab19c479596515e97b7"/><file name="config.xml" hash="3b56d09f3a013c503b09f680b8eb4249"/><file name="system.xml" hash="c65e223eda6115ea941496914b8e0ef2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="instantsearch.xml" hash="cb720549fa32468456f95cd8b2e02519"/></dir><dir name="template"><dir name="instantsearch"><file name="instantsearch.phtml" hash="97415b1bb8986842c80ce0ed41c8e57e"/><file name="view.phtml" hash="9e75721eb5b1f9d4d5e834df5dd3a0f5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magestore_Instantsearch.xml" hash="fa29090e466dd75a516a5f62bc726281"/></dir></target><target name="mage"><dir name="js"><dir name="magestore"><file name="instantsearch.js" hash="b7302ba745ff3b3bd2e909ca2421ef33"/><file name="viewinstantsearch.js" hash="8389b3c2b9259ca38d6daff2bdb5f04f"/></dir><dir name="tinybox"><file name="tinybox.js" hash="2ca7fcb7fefc5e8d85887f3c6dc6e315"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="tinybox"><dir name="images"><file name="Thumbs.db" hash="11fb2793c09da50437dcdfe0c4bd6333"/><file name="preload.gif" hash="bf3ec68db23e93ba2ec795ef558e96da"/><file name="rhino.jpg" hash="d00bad1ec05584e10a5601ec103aff72"/></dir><file name="style.css" hash="e3016ee232fbf3c6f780255002703237"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="magestore"><file name="instantsearch.css" hash="c3a45447088a63673e53ae801f6ebf2f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>