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.
25-9-2012 :
Bugs Resolved :
- Performance Upgrades
Download this release
Release Info
Developer | Mrugesh Mistry |
Extension | MagehouseInfinity |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- app/code/community/Magehouse/Slider/Block/Catalog/Layer/View.php +0 -187
- app/code/community/Magehouse/Slider/Helper/Data.php +0 -5
- app/code/community/Magehouse/Slider/Model/Catalog/Layer.php +0 -64
- app/code/community/Magehouse/Slider/etc/adminhtml.xml +0 -23
- app/code/community/Magehouse/Slider/etc/config.xml +0 -55
- app/code/community/Magehouse/Slider/etc/system.xml +0 -209
- package.xml +11 -6
app/code/community/Magehouse/Slider/Block/Catalog/Layer/View.php
DELETED
@@ -1,187 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Catalog layer price filter
|
5 |
-
*
|
6 |
-
* @category Mage
|
7 |
-
* @package Mage_Catalog
|
8 |
-
* @author Magento Core Team <core@magentocommerce.com>
|
9 |
-
*/
|
10 |
-
|
11 |
-
class Magehouse_Slider_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer_View
|
12 |
-
{
|
13 |
-
|
14 |
-
public $_currentCategory;
|
15 |
-
public $_productCollection;
|
16 |
-
public $_maxPrice;
|
17 |
-
public $_minPrice;
|
18 |
-
public $_currMinPrice;
|
19 |
-
public $_currMaxPrice;
|
20 |
-
public $_imagePath;
|
21 |
-
|
22 |
-
public function __construct(){
|
23 |
-
|
24 |
-
$this->_currentCategory = Mage::registry('current_category');
|
25 |
-
$this->setProductCollection();
|
26 |
-
$this->setMinPrice();
|
27 |
-
$this->setMaxPrice();
|
28 |
-
$this->setCurrentPrices();
|
29 |
-
$this->_imagePath = $this->getUrl('media/magehouse/slider');
|
30 |
-
parent::__construct();
|
31 |
-
}
|
32 |
-
|
33 |
-
public function getSliderStatus(){
|
34 |
-
if(Mage::getStoreConfig('price_slider/price_slider_settings/slider_loader_active'))
|
35 |
-
return true;
|
36 |
-
else
|
37 |
-
return false;
|
38 |
-
}
|
39 |
-
|
40 |
-
public function getSlider(){
|
41 |
-
if($this->getSliderStatus()){
|
42 |
-
$text='
|
43 |
-
<div class="price">
|
44 |
-
<p>
|
45 |
-
<input type="text" id="amount" readonly="readonly" style="background:none; border:none;" />
|
46 |
-
</p>
|
47 |
-
<div id="slider-range"></div>
|
48 |
-
</div>
|
49 |
-
';
|
50 |
-
|
51 |
-
return $text;
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
public function prepareParams(){
|
56 |
-
$url="";
|
57 |
-
|
58 |
-
$params=$this->getRequest()->getParams();
|
59 |
-
foreach ($params as $key=>$val)
|
60 |
-
{
|
61 |
-
if($key=='id'){ continue;}
|
62 |
-
if($key=='min'){ continue;}
|
63 |
-
if($key=='max'){ continue;}
|
64 |
-
$url.='&'.$key.'='.$val;
|
65 |
-
}
|
66 |
-
return $url;
|
67 |
-
}
|
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 = '
|
76 |
-
<script type="text/javascript">
|
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 ) {
|
84 |
-
$( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
|
85 |
-
},stop: function( event, ui ) {
|
86 |
-
var x1 = ui.values[0];
|
87 |
-
var x2 = ui.values[1];
|
88 |
-
$( "#amount" ).val( "$"+x1+" - $"+x2 );
|
89 |
-
var url = "'.$baseUrl.'"+"/?min="+x1+"&max="+x2+"'.$this->prepareParams().'";
|
90 |
-
if(x1 != '.$min.' && x2 != '.$max.'){
|
91 |
-
clearTimeout(timer);
|
92 |
-
window.location= url;
|
93 |
-
}else{
|
94 |
-
timer = setTimeout(function(){
|
95 |
-
window.location= url;
|
96 |
-
}, '.$timeout.');
|
97 |
-
}
|
98 |
-
}
|
99 |
-
});
|
100 |
-
$( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) +
|
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 |
-
|
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 |
-
|
156 |
-
public function getConfig($key){
|
157 |
-
return Mage::getStoreConfig($key);
|
158 |
-
}
|
159 |
-
|
160 |
-
public function setMinPrice(){
|
161 |
-
$this->_minPrice = $this->_productCollection
|
162 |
-
->getFirstItem()
|
163 |
-
->getPrice();
|
164 |
-
}
|
165 |
-
|
166 |
-
public function setMaxPrice(){
|
167 |
-
$this->_maxPrice = $this->_productCollection
|
168 |
-
->getLastItem()
|
169 |
-
->getPrice();
|
170 |
-
}
|
171 |
-
|
172 |
-
public function setProductCollection(){
|
173 |
-
$this->_productCollection = $this->_currentCategory
|
174 |
-
->getProductCollection()
|
175 |
-
->addAttributeToSelect('*')
|
176 |
-
->setOrder('price', 'ASC');
|
177 |
-
}
|
178 |
-
|
179 |
-
public function setCurrentPrices(){
|
180 |
-
|
181 |
-
$this->_currMinPrice = $this->getRequest()->getParam('min');
|
182 |
-
$this->_currMaxPrice = $this->getRequest()->getParam('max');
|
183 |
-
}
|
184 |
-
|
185 |
-
}
|
186 |
-
|
187 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Magehouse/Slider/Helper/Data.php
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class Magehouse_Slider_Helper_Data extends Mage_Core_Helper_Abstract
|
3 |
-
{
|
4 |
-
}
|
5 |
-
|
|
|
|
|
|
|
|
|
|
app/code/community/Magehouse/Slider/Model/Catalog/Layer.php
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
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 license@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Catalog
|
23 |
-
* @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
|
24 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
-
*/
|
26 |
-
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Catalog view layer model
|
30 |
-
*
|
31 |
-
* @category Mage
|
32 |
-
* @package Mage_Catalog
|
33 |
-
* @author Magento Core Team <core@magentocommerce.com>
|
34 |
-
*/
|
35 |
-
class Magehouse_Slider_Model_Catalog_Layer extends Mage_Catalog_Model_Layer
|
36 |
-
{
|
37 |
-
|
38 |
-
|
39 |
-
public function getProductCollection()
|
40 |
-
{
|
41 |
-
if (isset($this->_productCollections[$this->getCurrentCategory()->getId()])) {
|
42 |
-
$collection = $this->_productCollections[$this->getCurrentCategory()->getId()];
|
43 |
-
} else {
|
44 |
-
$collection = $this->getCurrentCategory()->getProductCollection();
|
45 |
-
$this->prepareProductCollection($collection);
|
46 |
-
$this->_productCollections[$this->getCurrentCategory()->getId()] = $collection;
|
47 |
-
}
|
48 |
-
|
49 |
-
/*PRICE SLIDER FILTER*/
|
50 |
-
$max=$_GET['max'];
|
51 |
-
$min=$_GET['min'];
|
52 |
-
if($min)
|
53 |
-
$collection= $collection->addAttributeToFilter('price',array('gteq'=>$min));
|
54 |
-
|
55 |
-
if($max)
|
56 |
-
$collection= $collection->addAttributeToFilter('price',array('lteq'=>$max));
|
57 |
-
|
58 |
-
/*PRICE SLIDER FILTER*/
|
59 |
-
|
60 |
-
return $collection;
|
61 |
-
}
|
62 |
-
|
63 |
-
|
64 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Magehouse/Slider/etc/adminhtml.xml
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<acl>
|
4 |
-
<resources>
|
5 |
-
<admin>
|
6 |
-
<children>
|
7 |
-
<system>
|
8 |
-
<children>
|
9 |
-
<config>
|
10 |
-
<children>
|
11 |
-
<price_slider translate="title" module="slider">
|
12 |
-
<title>Magehouse Price Slider</title>
|
13 |
-
<sort_order>0</sort_order>
|
14 |
-
</price_slider>
|
15 |
-
</children>
|
16 |
-
</config>
|
17 |
-
</children>
|
18 |
-
</system>
|
19 |
-
</children>
|
20 |
-
</admin>
|
21 |
-
</resources>
|
22 |
-
</acl>
|
23 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Magehouse/Slider/etc/config.xml
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Magehouse_Slider>
|
5 |
-
<version>0.1.0</version>
|
6 |
-
</Magehouse_Slider>
|
7 |
-
</modules>
|
8 |
-
<global>
|
9 |
-
<helpers>
|
10 |
-
<slider>
|
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
DELETED
@@ -1,209 +0,0 @@
|
|
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>
|
@@ -18,11 +18,16 @@ Added Missing Loader Image
|
|
18 |
25-9-2012 : 
|
19 |

|
20 |
Bugs Resolved :
|
21 |
-
- Not working in list Mode
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
23 |
<date>2012-09-25</date>
|
24 |
-
<time>18:
|
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
|
26 |
<compatible/>
|
27 |
-
<dependencies
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>MagehouseInfinity</name>
|
4 |
+
<version>1.0.4</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>
|
18 |
25-9-2012 : 
|
19 |

|
20 |
Bugs Resolved :
|
21 |
+
- Not working in list Mode.
|
22 |
+

|
23 |
+
25-9-2012 : 
|
24 |
+

|
25 |
+
Bugs Resolved :
|
26 |
+
- Performance Upgrades</notes>
|
27 |
+
<authors><author><name>Mrugesh Mistry</name><user>mrugeshrocks</user><email>mrugesh.rocks@gmail.com</email></author></authors>
|
28 |
<date>2012-09-25</date>
|
29 |
+
<time>18:12:51</time>
|
30 |
+
<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></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>
|
31 |
<compatible/>
|
32 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
33 |
</package>
|