MagehouseInfinity - Version 1.0.3

Version Notes

First Release 19 -9 -2012
Added Missing Loader Image

23-9-2012
- Added tool tips for admin settings
- Added default vales of the required fields.

25-9-2012 :

Bugs Resolved :
- Not working in list Mode.

Download this release

Release Info

Developer Magento Core Team
Extension MagehouseInfinity
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Magehouse/Infinity/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
  <default>
25
  <infinite_scroll>
26
  <infinite_scroll_settings>
27
- <scroll_container>.products-grid</scroll_container>
28
  <scroll_item>.item</scroll_item>
29
  <scroll_pagination>.pager</scroll_pagination>
30
  <scroll_next>.pages a.next</scroll_next>
24
  <default>
25
  <infinite_scroll>
26
  <infinite_scroll_settings>
27
+ <scroll_container>.products-grid, .products-list</scroll_container>
28
  <scroll_item>.item</scroll_item>
29
  <scroll_pagination>.pager</scroll_pagination>
30
  <scroll_next>.pages a.next</scroll_next>
app/code/community/Magehouse/Slider/Block/Catalog/Layer/View.php CHANGED
@@ -77,7 +77,7 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
77
  jQuery(function($) {
78
  $( "#slider-range" ).slider({
79
  range: true,
80
- min: 0,
81
  max: '.$this->_maxPrice.',
82
  values: [ '.$min.', '.$max.' ],
83
  slide: function( event, ui ) {
@@ -119,39 +119,37 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
119
 
120
  $amountStyle = $this->getConfig('price_slider/price_slider_conf/amount_style');
121
 
 
122
  if($useImage){
123
- $handleImage = $this->getConfig('price_slider/price_slider_conf/handle_image');
124
- $rangeImage = $this->getConfig('price_slider/price_slider_conf/range_image');
125
- $sliderImage = $this->getConfig('price_slider/price_slider_conf/background_image');
 
 
 
 
 
 
 
 
126
 
127
- $html = '
128
- <style type="text/css">
129
- .ui-slider .ui-slider-handle{background:url('.$this->_imagePath.$handleImage.')no-repeat; width:'.$handleWidth.'px; height:'.$handleHeight.'px; border:none;}
130
- .ui-slider{background:url('.$this->_imagePath.$sliderImage.') repeat-x; width:'.$sliderWidth.'px; height:'.$sliderHeight.'px; border:none;}
131
- .ui-slider .ui-slider-range{background:url('.$this->_imagePath.$rangeImage.') repeat-x; border:none;}
132
- #amount{'.$amountStyle.'}
133
- </style>
134
- ';
135
  }
136
 
137
- if(!$useImage)
138
- {
139
- $handleColor = $this->getConfig('price_slider/price_slider_conf/handle_color');
140
- $rangeColor = $this->getConfig('price_slider/price_slider_conf/range_color');
141
- $sliderColor = $this->getConfig('price_slider/price_slider_conf/background_color');
142
 
143
- $html = '
144
- <style type="text/css">
145
- .ui-slider .ui-slider-handle{background:'.$handleColor.'; width:'.$handleWidth.'px; height:'.$handleHeight.'px; border:none;}
146
- .ui-slider{background:'.$sliderColor.'; width:'.$sliderWidth.'px; height:'.$sliderHeight.'px; border:none;}
147
- .ui-slider .ui-slider-range{background:'.$rangeColor.'; border:none;}
148
- #amount{'.$amountStyle.'}
149
- </style>
150
- ';
151
- }
152
-
153
-
154
-
155
  return $html;
156
  }
157
 
77
  jQuery(function($) {
78
  $( "#slider-range" ).slider({
79
  range: true,
80
+ min: '.$this->_minPrice.',
81
  max: '.$this->_maxPrice.',
82
  values: [ '.$min.', '.$max.' ],
83
  slide: function( event, ui ) {
119
 
120
  $amountStyle = $this->getConfig('price_slider/price_slider_conf/amount_style');
121
 
122
+
123
  if($useImage){
124
+ $handle = $this->getConfig('price_slider/price_slider_conf/handle_image');
125
+ $range = $this->getConfig('price_slider/price_slider_conf/range_image');
126
+ $slider = $this->getConfig('price_slider/price_slider_conf/background_image');
127
+
128
+ if($handle){$bgHandle = 'url('.$this->_imagePath.$handle.') no-repeat';}
129
+ if($range){$bgRange = 'url('.$this->_imagePath.$range.') no-repeat';}
130
+ if($slider){$bgSlider = 'url('.$this->_imagePath.$slider.') no-repeat';}
131
+ }else{
132
+ $bgHandle = $this->getConfig('price_slider/price_slider_conf/handle_color');
133
+ $bgRange = $this->getConfig('price_slider/price_slider_conf/range_color');
134
+ $bgSlider = $this->getConfig('price_slider/price_slider_conf/background_color');
135
 
 
 
 
 
 
 
 
 
136
  }
137
 
138
+ $html = '<style type="text/css">';
139
+ $html .= '.ui-slider .ui-slider-handle{';
140
+ if($bgHandle){$html .= 'background:'.$bgHandle;}
141
+ $html .= 'width:'.$handleWidth.'px; height:'.$handleHeight.'px; border:none;}';
 
142
 
143
+ $html .= '.ui-slider{';
144
+ if($bgSlider){$html .= 'background:'.$bgSlider;}
145
+ $html .= ' width:'.$sliderWidth.'px; height:'.$sliderHeight.'px; border:none;}';
146
+
147
+ $html .= '.ui-slider .ui-slider-range{';
148
+ if($bgRange){$html .= 'background:'.$bgRange;}
149
+ $html .= 'border:none;}';
150
+
151
+ $html .= '#amount{'.$amountStyle.'}';
152
+ $html .= '</style>';
 
 
153
  return $html;
154
  }
155
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MagehouseInfinity</name>
4
- <version>1.0.2</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>
@@ -13,11 +13,16 @@ Added Missing Loader Image&#xD;
13
  &#xD;
14
  23-9-2012&#xD;
15
  - Added tool tips for admin settings&#xD;
16
- - Added default vales of the required fields.</notes>
 
 
 
 
 
17
  <authors><author><name>Mrugesh Mistry</name><user>auto-converted</user><email>mrugesh.rocks@gmail.com</email></author></authors>
18
- <date>2012-09-22</date>
19
- <time>20:40:41</time>
20
- <contents><target name="magecommunity"><dir name="Magehouse"><dir name="Infinity"><dir name="Helper"><file name="Data.php" hash="a6c41a4bb720289eb76d906a9e5cac66"/></dir><dir name="etc"><file name="adminhtml.xml" hash="465e6ff26e98795805d6556a7bb6e77f"/><file name="config.xml" hash="71d37a148b4576d9167e3f1e456dab4d"/><file name="system.xml" hash="405fa8de7848b44192672bf7f7226683"/></dir></dir><dir name="Slider"><dir name="Block"><dir name="Catalog"><dir name="Layer"><file name="View.php" hash="09d703ebcbeb7dbba98974bfc328e64f"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="a065b8f56bbda2943734e76139883220"/></dir><dir name="Model"><dir name="Catalog"><file name="Layer.php" hash="a1c2cecee98019114530e94b7e13a526"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c728cee82276d42e77808bf48fdd0cdf"/><file name="config.xml" hash="5a55ba91f82a7607db99ab71ff0c060d"/><file name="system.xml" hash="3c7bd19dd730500a9271f762624552ce"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="infinitescroll.xml" hash="583734765416ed15c6c7689baac93bf0"/></dir><dir name="template"><dir name="infinitescroll"><file name="js.phtml" hash="e202d3273cb1d9d7d091b005d3319899"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="infinite"><file name="jquery.ias.min.js" hash="5c1fc8a0c00783b0ffddd978059c1d1f"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magehouse_Infinity.xml" hash="a2471ae1480f2935dddee2f6afdeb12f"/></dir></target><target name="magemedia"><dir name="images"><file name="loader.gif" hash="a83b3386215d34699938f4eec968e372"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies/>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MagehouseInfinity</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>
13
  &#xD;
14
  23-9-2012&#xD;
15
  - Added tool tips for admin settings&#xD;
16
+ - Added default vales of the required fields.&#xD;
17
+ &#xD;
18
+ 25-9-2012 : &#xD;
19
+ &#xD;
20
+ Bugs Resolved :&#xD;
21
+ - Not working in list Mode.</notes>
22
  <authors><author><name>Mrugesh Mistry</name><user>auto-converted</user><email>mrugesh.rocks@gmail.com</email></author></authors>
23
+ <date>2012-09-25</date>
24
+ <time>18:00:09</time>
25
+ <contents><target name="magecommunity"><dir name="Magehouse"><dir name="Infinity"><dir name="Helper"><file name="Data.php" hash="a6c41a4bb720289eb76d906a9e5cac66"/></dir><dir name="etc"><file name="adminhtml.xml" hash="465e6ff26e98795805d6556a7bb6e77f"/><file name="config.xml" hash="f25217ca0351c55302464feca34f9f06"/><file name="system.xml" hash="405fa8de7848b44192672bf7f7226683"/></dir></dir><dir name="Slider"><dir name="Block"><dir name="Catalog"><dir name="Layer"><file name="View.php" hash="ff00815433095feb81c747857460a1e2"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="a065b8f56bbda2943734e76139883220"/></dir><dir name="Model"><dir name="Catalog"><file name="Layer.php" hash="a1c2cecee98019114530e94b7e13a526"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c728cee82276d42e77808bf48fdd0cdf"/><file name="config.xml" hash="5a55ba91f82a7607db99ab71ff0c060d"/><file name="system.xml" hash="3c7bd19dd730500a9271f762624552ce"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="infinitescroll.xml" hash="583734765416ed15c6c7689baac93bf0"/></dir><dir name="template"><dir name="infinitescroll"><file name="js.phtml" hash="e202d3273cb1d9d7d091b005d3319899"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="infinite"><file name="jquery.ias.min.js" hash="5c1fc8a0c00783b0ffddd978059c1d1f"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magehouse_Infinity.xml" hash="a2471ae1480f2935dddee2f6afdeb12f"/></dir></target><target name="magemedia"><dir name="images"><file name="loader.gif" hash="a83b3386215d34699938f4eec968e372"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies/>
28
  </package>