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.
Download this release
Release Info
Developer | Magento Core Team |
Extension | MagehouseInfinity |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- app/code/community/Magehouse/Infinity/etc/config.xml +34 -23
- app/code/community/Magehouse/Infinity/etc/system.xml +97 -90
- app/code/community/Magehouse/Slider/Block/Catalog/Layer/View.php +56 -3
- app/code/community/Magehouse/Slider/etc/config.xml +39 -22
- app/code/community/Magehouse/Slider/etc/system.xml +206 -56
- package.xml +8 -4
app/code/community/Magehouse/Infinity/etc/config.xml
CHANGED
@@ -1,24 +1,35 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Magehouse_Infinity>
|
5 |
-
<version>0.1.0</version>
|
6 |
-
</Magehouse_Infinity>
|
7 |
-
</modules>
|
8 |
-
<global>
|
9 |
-
<helpers>
|
10 |
-
<infinity>
|
11 |
-
<class>Magehouse_Infinity_Helper</class>
|
12 |
-
</infinity>
|
13 |
-
</helpers>
|
14 |
-
</global>
|
15 |
-
<frontend>
|
16 |
-
<layout>
|
17 |
-
<updates>
|
18 |
-
<infinity>
|
19 |
-
<file>infinitescroll.xml</file>
|
20 |
-
</infinity>
|
21 |
-
</updates>
|
22 |
-
</layout>
|
23 |
-
</frontend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Magehouse_Infinity>
|
5 |
+
<version>0.1.0</version>
|
6 |
+
</Magehouse_Infinity>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<infinity>
|
11 |
+
<class>Magehouse_Infinity_Helper</class>
|
12 |
+
</infinity>
|
13 |
+
</helpers>
|
14 |
+
</global>
|
15 |
+
<frontend>
|
16 |
+
<layout>
|
17 |
+
<updates>
|
18 |
+
<infinity>
|
19 |
+
<file>infinitescroll.xml</file>
|
20 |
+
</infinity>
|
21 |
+
</updates>
|
22 |
+
</layout>
|
23 |
+
</frontend>
|
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>
|
31 |
+
<scroll_loader>media/images/loader.gif</scroll_loader>
|
32 |
+
</infinite_scroll_settings>
|
33 |
+
</infinite_scroll>
|
34 |
+
</default>
|
35 |
</config>
|
app/code/community/Magehouse/Infinity/etc/system.xml
CHANGED
@@ -1,90 +1,97 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<magehouse translate="label" module="infinity">
|
5 |
-
<label>Magehouse Extensions</label>
|
6 |
-
<sort_order>0</sort_order>
|
7 |
-
</magehouse>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<infinite_scroll translate="label" module="infinity">
|
11 |
-
<label>Infinite Scroll</label>
|
12 |
-
<tab>magehouse</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>0</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<infinite_scroll_settings translate="label">
|
20 |
-
<label>Settings</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>0</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>1</show_in_website>
|
25 |
-
<show_in_store>1</show_in_store>
|
26 |
-
<fields>
|
27 |
-
<scroll_loader_active translate="label">
|
28 |
-
<label>Enable Infinite Scroll</label>
|
29 |
-
<frontend_type>select</frontend_type>
|
30 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
-
<sort_order>1</sort_order>
|
32 |
-
<show_in_default>1</show_in_default>
|
33 |
-
<show_in_website>1</show_in_website>
|
34 |
-
<show_in_store>1</show_in_store>
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
<
|
39 |
-
<
|
40 |
-
<
|
41 |
-
<
|
42 |
-
<
|
43 |
-
<
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
<
|
49 |
-
|
50 |
-
<
|
51 |
-
<
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
<
|
58 |
-
|
59 |
-
<
|
60 |
-
|
61 |
-
|
62 |
-
<
|
63 |
-
<
|
64 |
-
|
65 |
-
|
66 |
-
<
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
<
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
<
|
76 |
-
|
77 |
-
|
78 |
-
<
|
79 |
-
|
80 |
-
<
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<magehouse translate="label" module="infinity">
|
5 |
+
<label>Magehouse Extensions</label>
|
6 |
+
<sort_order>0</sort_order>
|
7 |
+
</magehouse>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<infinite_scroll translate="label" module="infinity">
|
11 |
+
<label>Infinite Scroll</label>
|
12 |
+
<tab>magehouse</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>0</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<infinite_scroll_settings translate="label">
|
20 |
+
<label>Settings</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>0</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<scroll_loader_active translate="label">
|
28 |
+
<label>Enable Infinite Scroll</label>
|
29 |
+
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
+
<sort_order>1</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>1</show_in_store>
|
35 |
+
<comment>Enable / Disable Infinite Scroll</comment>
|
36 |
+
</scroll_loader_active>
|
37 |
+
<include_jquery translate="label">
|
38 |
+
<label>Include Jquery</label>
|
39 |
+
<frontend_type>select</frontend_type>
|
40 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
41 |
+
<sort_order>2</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
<comment>Set this to yes if you have not included jQuery in the website.</comment>
|
46 |
+
</include_jquery>
|
47 |
+
<scroll_container translate="label">
|
48 |
+
<label>Products Container</label>
|
49 |
+
<frontend_type>text</frontend_type>
|
50 |
+
<sort_order>3</sort_order>
|
51 |
+
<show_in_default>1</show_in_default>
|
52 |
+
<show_in_website>1</show_in_website>
|
53 |
+
<show_in_store>1</show_in_store>
|
54 |
+
<comment>The class name of the contaniner which has all the products. </comment>
|
55 |
+
</scroll_container>
|
56 |
+
<scroll_item translate="label">
|
57 |
+
<label>Single Item container</label>
|
58 |
+
<frontend_type>text</frontend_type>
|
59 |
+
<sort_order>4</sort_order>
|
60 |
+
<show_in_default>1</show_in_default>
|
61 |
+
<show_in_website>1</show_in_website>
|
62 |
+
<show_in_store>1</show_in_store>
|
63 |
+
<comment>The class name of the contaniner in which lies the product (single). </comment>
|
64 |
+
</scroll_item>
|
65 |
+
<scroll_pagination translate="label">
|
66 |
+
<label>Pagination Container</label>
|
67 |
+
<frontend_type>text</frontend_type>
|
68 |
+
<sort_order>5</sort_order>
|
69 |
+
<show_in_default>1</show_in_default>
|
70 |
+
<show_in_website>1</show_in_website>
|
71 |
+
<show_in_store>1</show_in_store>
|
72 |
+
<comment>The class name of the contaniner which has the pager. </comment>
|
73 |
+
</scroll_pagination>
|
74 |
+
<scroll_next translate="label">
|
75 |
+
<label>Element for Next Link </label>
|
76 |
+
<frontend_type>text</frontend_type>
|
77 |
+
<sort_order>6</sort_order>
|
78 |
+
<show_in_default>1</show_in_default>
|
79 |
+
<show_in_website>1</show_in_website>
|
80 |
+
<show_in_store>1</show_in_store>
|
81 |
+
<comment>The class name of the contaniner which has the link to the next page. </comment>
|
82 |
+
</scroll_next>
|
83 |
+
<scroll_loader translate="label">
|
84 |
+
<label>Loader Image</label>
|
85 |
+
<frontend_type>text</frontend_type>
|
86 |
+
<sort_order>7</sort_order>
|
87 |
+
<show_in_default>1</show_in_default>
|
88 |
+
<show_in_website>1</show_in_website>
|
89 |
+
<show_in_store>1</show_in_store>
|
90 |
+
<comment>Path to your loading image. </comment>
|
91 |
+
</scroll_loader>
|
92 |
+
</fields>
|
93 |
+
</infinite_scroll_settings>
|
94 |
+
</groups>
|
95 |
+
</infinite_scroll>
|
96 |
+
</sections>
|
97 |
+
</config>
|
app/code/community/Magehouse/Slider/Block/Catalog/Layer/View.php
CHANGED
@@ -17,7 +17,7 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
|
|
17 |
public $_minPrice;
|
18 |
public $_currMinPrice;
|
19 |
public $_currMaxPrice;
|
20 |
-
|
21 |
|
22 |
public function __construct(){
|
23 |
|
@@ -26,6 +26,7 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
|
|
26 |
$this->setMinPrice();
|
27 |
$this->setMaxPrice();
|
28 |
$this->setCurrentPrices();
|
|
|
29 |
parent::__construct();
|
30 |
}
|
31 |
|
@@ -67,7 +68,8 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
|
|
67 |
|
68 |
public function getSliderJs(){
|
69 |
$baseUrl = $this->_currentCategory->getUrl();
|
70 |
-
|
|
|
71 |
if($this->_currMaxPrice > 0){$max = $this->_currMaxPrice;} else{$max = $this->_maxPrice;}
|
72 |
if($this->_currMinPrice > 0){$min = $this->_currMinPrice;} else{$min = $this->_minPrice;}
|
73 |
$html = '
|
@@ -91,7 +93,7 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
|
|
91 |
}else{
|
92 |
timer = setTimeout(function(){
|
93 |
window.location= url;
|
94 |
-
},
|
95 |
}
|
96 |
}
|
97 |
});
|
@@ -99,12 +101,63 @@ class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer
|
|
99 |
" - $" + $( "#slider-range" ).slider( "values", 1 ) );
|
100 |
});
|
101 |
</script>
|
|
|
|
|
102 |
';
|
103 |
|
104 |
return $html;
|
105 |
}
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
|
|
|
|
|
|
108 |
|
109 |
public function setMinPrice(){
|
110 |
$this->_minPrice = $this->_productCollection
|
17 |
public $_minPrice;
|
18 |
public $_currMinPrice;
|
19 |
public $_currMaxPrice;
|
20 |
+
public $_imagePath;
|
21 |
|
22 |
public function __construct(){
|
23 |
|
26 |
$this->setMinPrice();
|
27 |
$this->setMaxPrice();
|
28 |
$this->setCurrentPrices();
|
29 |
+
$this->_imagePath = $this->getUrl('media/magehouse/slider');
|
30 |
parent::__construct();
|
31 |
}
|
32 |
|
68 |
|
69 |
public function getSliderJs(){
|
70 |
$baseUrl = $this->_currentCategory->getUrl();
|
71 |
+
$timeout = $this->getConfig('price_slider/price_slider_conf/timeout');
|
72 |
+
$styles = $this->prepareCustomStyles();
|
73 |
if($this->_currMaxPrice > 0){$max = $this->_currMaxPrice;} else{$max = $this->_maxPrice;}
|
74 |
if($this->_currMinPrice > 0){$min = $this->_currMinPrice;} else{$min = $this->_minPrice;}
|
75 |
$html = '
|
93 |
}else{
|
94 |
timer = setTimeout(function(){
|
95 |
window.location= url;
|
96 |
+
}, '.$timeout.');
|
97 |
}
|
98 |
}
|
99 |
});
|
101 |
" - $" + $( "#slider-range" ).slider( "values", 1 ) );
|
102 |
});
|
103 |
</script>
|
104 |
+
|
105 |
+
'.$styles.'
|
106 |
';
|
107 |
|
108 |
return $html;
|
109 |
}
|
110 |
|
111 |
+
public function prepareCustomStyles(){
|
112 |
+
$useImage = $this->getConfig('price_slider/price_slider_conf/use_image');
|
113 |
+
|
114 |
+
$handleHeight = $this->getConfig('price_slider/price_slider_conf/handle_height');
|
115 |
+
$handleWidth = $this->getConfig('price_slider/price_slider_conf/handle_width');
|
116 |
+
|
117 |
+
$sliderHeight = $this->getConfig('price_slider/price_slider_conf/slider_height');
|
118 |
+
$sliderWidth = $this->getConfig('price_slider/price_slider_conf/slider_width');
|
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 |
|
158 |
+
public function getConfig($key){
|
159 |
+
return Mage::getStoreConfig($key);
|
160 |
+
}
|
161 |
|
162 |
public function setMinPrice(){
|
163 |
$this->_minPrice = $this->_productCollection
|
app/code/community/Magehouse/Slider/etc/config.xml
CHANGED
@@ -11,28 +11,45 @@
|
|
11 |
<class>Magehouse_Slider_Helper</class>
|
12 |
</slider>
|
13 |
</helpers>
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
</global>
|
29 |
<frontend>
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
</frontend>
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
<class>Magehouse_Slider_Helper</class>
|
12 |
</slider>
|
13 |
</helpers>
|
14 |
+
<blocks>
|
15 |
+
<catalog>
|
16 |
+
<rewrite>
|
17 |
+
<layer_view>Magehouse_Slider_Block_Catalog_Layer_View</layer_view>
|
18 |
+
</rewrite>
|
19 |
+
</catalog>
|
20 |
+
</blocks>
|
21 |
+
<models>
|
22 |
+
<catalog>
|
23 |
+
<rewrite>
|
24 |
+
<layer>Magehouse_Slider_Model_Catalog_Layer</layer>
|
25 |
+
</rewrite>
|
26 |
+
</catalog>
|
27 |
+
</models>
|
28 |
</global>
|
29 |
<frontend>
|
30 |
+
<layout>
|
31 |
+
<updates>
|
32 |
+
<slider>
|
33 |
+
<file>slider.xml</file>
|
34 |
+
</slider>
|
35 |
+
</updates>
|
36 |
+
</layout>
|
37 |
</frontend>
|
38 |
+
<default>
|
39 |
+
<price_slider>
|
40 |
+
<price_slider_settings></price_slider_settings>
|
41 |
+
<price_slider_conf>
|
42 |
+
<timeout>5000</timeout>
|
43 |
+
|
44 |
+
<handle_color>#333333</handle_color>
|
45 |
+
<background_color>#eeeeee</background_color>
|
46 |
+
<range_color>#ffbb35</range_color>
|
47 |
+
<handle_width>17</handle_width>
|
48 |
+
<handle_height>18</handle_height>
|
49 |
+
<slider_width>auto</slider_width>
|
50 |
+
<slider_height>7</slider_height>
|
51 |
+
|
52 |
+
</price_slider_conf>
|
53 |
+
</price_slider>
|
54 |
+
</default>
|
55 |
+
</config>
|
app/code/community/Magehouse/Slider/etc/system.xml
CHANGED
@@ -1,59 +1,209 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
</config>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
+
<tabs>
|
4 |
+
<magehouse translate="label" module="slider">
|
5 |
+
<label>Magehouse Extensions</label>
|
6 |
+
<sort_order>0</sort_order>
|
7 |
+
</magehouse>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<price_slider translate="label" module="slider">
|
11 |
+
<label>Price Slider</label>
|
12 |
+
<tab>magehouse</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>0</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<price_slider_settings translate="label">
|
20 |
+
<label>Settings</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>0</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<slider_loader_active translate="label">
|
28 |
+
<label>Enable Price Slider</label>
|
29 |
+
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
+
<sort_order>1</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>1</show_in_store>
|
35 |
+
<comment>Use this to enable / disable the price slider.</comment>
|
36 |
+
</slider_loader_active>
|
37 |
+
<include_jquery translate="label">
|
38 |
+
<label>Include Jquery</label>
|
39 |
+
<frontend_type>select</frontend_type>
|
40 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
41 |
+
<sort_order>2</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
<comment>Set this to yes if you have not included jQuery in the website.</comment>
|
46 |
+
</include_jquery>
|
47 |
+
<include_jquery_ui translate="label">
|
48 |
+
<label>Include Jquery UI</label>
|
49 |
+
<frontend_type>select</frontend_type>
|
50 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
+
<sort_order>3</sort_order>
|
52 |
+
<show_in_default>1</show_in_default>
|
53 |
+
<show_in_website>1</show_in_website>
|
54 |
+
<show_in_store>1</show_in_store>
|
55 |
+
<comment>Set this to yes if you have not included jQuery UI in the website.</comment>
|
56 |
+
</include_jquery_ui>
|
57 |
+
</fields>
|
58 |
+
</price_slider_settings>
|
59 |
+
<price_slider_conf translate="label">
|
60 |
+
<label>Price Slider Configuration</label>
|
61 |
+
<frontend_type>text</frontend_type>
|
62 |
+
<sort_order>1</sort_order>
|
63 |
+
<show_in_default>1</show_in_default>
|
64 |
+
<show_in_website>1</show_in_website>
|
65 |
+
<show_in_store>1</show_in_store>
|
66 |
+
<fields>
|
67 |
+
<timeout><!-- Make up a field key -->
|
68 |
+
<label>Timeout</label>
|
69 |
+
<frontend_type>text</frontend_type>
|
70 |
+
<sort_order>9</sort_order>
|
71 |
+
<show_in_default>1</show_in_default>
|
72 |
+
<show_in_website>1</show_in_website>
|
73 |
+
<show_in_store>1</show_in_store>
|
74 |
+
<comment>Set this in milliseconds. It refers to the time to await for user's action on the other handle after changing the first. if the user does not change the other range within specified time, the selected settings will be applied.</comment>
|
75 |
+
</timeout>
|
76 |
+
<use_image translate="label">
|
77 |
+
<label>Use Image</label>
|
78 |
+
<frontend_type>select</frontend_type>
|
79 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
80 |
+
<sort_order>10</sort_order>
|
81 |
+
<show_in_default>1</show_in_default>
|
82 |
+
<show_in_website>1</show_in_website>
|
83 |
+
<show_in_store>1</show_in_store>
|
84 |
+
<comment>Setting to yes will use the images for the slider. You have to upload the images in below.</comment>
|
85 |
+
<tooltip>For using background colors in place of images, set this to no and specify the colours in below fields.</tooltip>
|
86 |
+
</use_image>
|
87 |
+
<handle_image><!-- Make up a field key -->
|
88 |
+
<label>Handle Image</label>
|
89 |
+
<frontend_type>image</frontend_type>
|
90 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
91 |
+
<upload_dir config="system/filesystem/media" scope_info="1">magehouse/slider</upload_dir>
|
92 |
+
<!-- would upload into media/uploaddir -->
|
93 |
+
<base_url type="media" scope_info="1">magehouse/slider</base_url>
|
94 |
+
<!-- same as previous line -->
|
95 |
+
<sort_order>20</sort_order>
|
96 |
+
<show_in_default>1</show_in_default>
|
97 |
+
<show_in_website>1</show_in_website>
|
98 |
+
<show_in_store>1</show_in_store>
|
99 |
+
<value>1.jpg</value>
|
100 |
+
</handle_image>
|
101 |
+
<background_image><!-- Make up a field key -->
|
102 |
+
<label>Background Image</label>
|
103 |
+
<frontend_type>image</frontend_type>
|
104 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
105 |
+
<upload_dir config="system/filesystem/media" scope_info="1">magehouse/slider</upload_dir>
|
106 |
+
<!-- would upload into media/uploaddir -->
|
107 |
+
<base_url type="media" scope_info="1">magehouse/slider</base_url>
|
108 |
+
<!-- same as previous line -->
|
109 |
+
<sort_order>30</sort_order>
|
110 |
+
<show_in_default>1</show_in_default>
|
111 |
+
<show_in_website>1</show_in_website>
|
112 |
+
<show_in_store>1</show_in_store>
|
113 |
+
</background_image>
|
114 |
+
<range_image><!-- Make up a field key -->
|
115 |
+
<label>Active Range Image</label>
|
116 |
+
<frontend_type>image</frontend_type>
|
117 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
118 |
+
<upload_dir config="system/filesystem/media" scope_info="1">magehouse/slider</upload_dir>
|
119 |
+
<!-- would upload into media/uploaddir -->
|
120 |
+
<base_url type="media" scope_info="1">magehouse/slider</base_url>
|
121 |
+
<!-- same as previous line -->
|
122 |
+
<sort_order>40</sort_order>
|
123 |
+
<show_in_default>1</show_in_default>
|
124 |
+
<show_in_website>1</show_in_website>
|
125 |
+
<show_in_store>1</show_in_store>
|
126 |
+
</range_image>
|
127 |
+
<handle_color><!-- Make up a field key -->
|
128 |
+
<label>Handle Background Color</label>
|
129 |
+
<frontend_type>text</frontend_type>
|
130 |
+
<sort_order>50</sort_order>
|
131 |
+
<show_in_default>1</show_in_default>
|
132 |
+
<show_in_website>1</show_in_website>
|
133 |
+
<show_in_store>1</show_in_store>
|
134 |
+
<comment>Background color for the handles.</comment>
|
135 |
+
</handle_color>
|
136 |
+
<background_color><!-- Make up a field key -->
|
137 |
+
<label>Background Color</label>
|
138 |
+
<frontend_type>text</frontend_type>
|
139 |
+
<sort_order>60</sort_order>
|
140 |
+
<show_in_default>1</show_in_default>
|
141 |
+
<show_in_website>1</show_in_website>
|
142 |
+
<show_in_store>1</show_in_store>
|
143 |
+
<comment>Background color for the inactive range.</comment>
|
144 |
+
</background_color>
|
145 |
+
<range_color><!-- Make up a field key -->
|
146 |
+
<label>Active Range Background Color</label>
|
147 |
+
<frontend_type>text</frontend_type>
|
148 |
+
<sort_order>70</sort_order>
|
149 |
+
<show_in_default>1</show_in_default>
|
150 |
+
<show_in_website>1</show_in_website>
|
151 |
+
<show_in_store>1</show_in_store>
|
152 |
+
<comment>Background color for the selected range.</comment>
|
153 |
+
</range_color>
|
154 |
+
|
155 |
+
<handle_width><!-- Make up a field key -->
|
156 |
+
<label>Handle width</label>
|
157 |
+
<frontend_type>text</frontend_type>
|
158 |
+
<sort_order>80</sort_order>
|
159 |
+
<show_in_default>1</show_in_default>
|
160 |
+
<show_in_website>1</show_in_website>
|
161 |
+
<show_in_store>1</show_in_store>
|
162 |
+
<comment>Width of the handle "px". Its the width of the image that you are using for the handle.</comment>
|
163 |
+
</handle_width>
|
164 |
+
<handle_height><!-- Make up a field key -->
|
165 |
+
<label>Handle Height</label>
|
166 |
+
<frontend_type>text</frontend_type>
|
167 |
+
<sort_order>90</sort_order>
|
168 |
+
<show_in_default>1</show_in_default>
|
169 |
+
<show_in_website>1</show_in_website>
|
170 |
+
<show_in_store>1</show_in_store>
|
171 |
+
<comment>Hight of the handle in "px". Its the height of the image that you are using for the handle.</comment>
|
172 |
+
</handle_height>
|
173 |
+
|
174 |
+
<slider_width><!-- Make up a field key -->
|
175 |
+
<label>Width</label>
|
176 |
+
<frontend_type>text</frontend_type>
|
177 |
+
<sort_order>100</sort_order>
|
178 |
+
<show_in_default>1</show_in_default>
|
179 |
+
<show_in_website>1</show_in_website>
|
180 |
+
<show_in_store>1</show_in_store>
|
181 |
+
<comment>Width of the slider in "px". "auto" for ayto width.</comment>
|
182 |
+
</slider_width>
|
183 |
+
<slider_height><!-- Make up a field key -->
|
184 |
+
<label>Height</label>
|
185 |
+
<frontend_type>text</frontend_type>
|
186 |
+
<sort_order>110</sort_order>
|
187 |
+
<show_in_default>1</show_in_default>
|
188 |
+
<show_in_website>1</show_in_website>
|
189 |
+
<show_in_store>1</show_in_store>
|
190 |
+
<comment>Height of the slider in "px". </comment>
|
191 |
+
</slider_height>
|
192 |
+
|
193 |
+
<amount_style><!-- Make up a field key -->
|
194 |
+
<label>Amount style</label>
|
195 |
+
<frontend_type>textarea</frontend_type>
|
196 |
+
<sort_order>120</sort_order>
|
197 |
+
<show_in_default>1</show_in_default>
|
198 |
+
<show_in_website>1</show_in_website>
|
199 |
+
<show_in_store>1</show_in_store>
|
200 |
+
<comment>This applies to the price that appears above slider.</comment>
|
201 |
+
</amount_style>
|
202 |
+
|
203 |
+
|
204 |
+
</fields>
|
205 |
+
</price_slider_conf>
|
206 |
+
</groups>
|
207 |
+
</price_slider>
|
208 |
+
</sections>
|
209 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>MagehouseInfinity</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>
|
@@ -9,11 +9,15 @@
|
|
9 |
<summary>Get infinite scrolling category pages.</summary>
|
10 |
<description>Get infinite scrolling category pages.</description>
|
11 |
<notes>First Release 19 -9 -2012
|
12 |
-
Added Missing Loader Image
|
|
|
|
|
|
|
|
|
13 |
<authors><author><name>Mrugesh Mistry</name><user>auto-converted</user><email>mrugesh.rocks@gmail.com</email></author></authors>
|
14 |
<date>2012-09-22</date>
|
15 |
-
<time>
|
16 |
-
<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="
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|
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>
|
9 |
<summary>Get infinite scrolling category pages.</summary>
|
10 |
<description>Get infinite scrolling category pages.</description>
|
11 |
<notes>First Release 19 -9 -2012
|
12 |
+
Added Missing Loader Image
|
13 |
+

|
14 |
+
23-9-2012
|
15 |
+
- Added tool tips for admin settings
|
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>
|