Version Notes
Compatibility with Magento 1.9
Download this release
Release Info
Developer | Magento Core Team |
Extension | Auguria_Sliders |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.0.3
- app/code/community/Auguria/Sliders/etc/config.xml +1 -1
- app/code/community/Auguria/Sliders/etc/system.xml~ +0 -265
- app/design/frontend/base/default/layout/auguria/sliders.xml +3 -3
- app/design/frontend/base/default/template/auguria/sliders/slider.phtml +12 -12
- media/auguria/sliders/resized/685x300/abstract-q-c-870-300-3.jpg +0 -0
- media/auguria/sliders/resized/685x300/food-q-c-870-300-1.jpg +0 -0
- package.xml +36 -9
- {js → skin/frontend/base/default/js}/auguria/sliders/slides.min.jquery_forked.js +1 -1
app/code/community/Auguria/Sliders/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Auguria_Sliders>
|
13 |
-
<version>1.0.
|
14 |
</Auguria_Sliders>
|
15 |
</modules>
|
16 |
<frontend>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Auguria_Sliders>
|
13 |
+
<version>1.0.3</version>
|
14 |
</Auguria_Sliders>
|
15 |
</modules>
|
16 |
<frontend>
|
app/code/community/Auguria/Sliders/etc/system.xml~
DELETED
@@ -1,265 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* @category Auguria
|
5 |
-
* @package Auguria_Sliders
|
6 |
-
* @author Auguria
|
7 |
-
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
|
8 |
-
*/
|
9 |
-
-->
|
10 |
-
<config>
|
11 |
-
<sections>
|
12 |
-
<auguria_sliders translate="label" module="auguria_sliders">
|
13 |
-
<label>Sliders</label>
|
14 |
-
<tab>general</tab>
|
15 |
-
<frontend_type>text</frontend_type>
|
16 |
-
<sort_order>1100</sort_order>
|
17 |
-
<show_in_default>1</show_in_default>
|
18 |
-
<show_in_website>1</show_in_website>
|
19 |
-
<show_in_store>1</show_in_store>
|
20 |
-
<groups>
|
21 |
-
<general translate="label" module="auguria_sliders">
|
22 |
-
<label>Sliders Options</label>
|
23 |
-
<frontend_type>text</frontend_type>
|
24 |
-
<sort_order>100</sort_order>
|
25 |
-
<show_in_default>1</show_in_default>
|
26 |
-
<show_in_website>1</show_in_website>
|
27 |
-
<show_in_store>1</show_in_store>
|
28 |
-
<fields>
|
29 |
-
<enabled translate="label" module="auguria_sliders">
|
30 |
-
<label>Enable Sliders</label>
|
31 |
-
<frontend_type>select</frontend_type>
|
32 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
33 |
-
<sort_order>10</sort_order>
|
34 |
-
<show_in_default>1</show_in_default>
|
35 |
-
<show_in_website>1</show_in_website>
|
36 |
-
<show_in_store>1</show_in_store>
|
37 |
-
</enabled>
|
38 |
-
<preload translate="label" module="auguria_sliders">
|
39 |
-
<label>Preload</label>
|
40 |
-
<comment>Set true to preload images in an image based slideshow.</comment>
|
41 |
-
<frontend_type>select</frontend_type>
|
42 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
43 |
-
<sort_order>20</sort_order>
|
44 |
-
<show_in_default>1</show_in_default>
|
45 |
-
<show_in_website>1</show_in_website>
|
46 |
-
<show_in_store>1</show_in_store>
|
47 |
-
</preload>
|
48 |
-
<generate_next_prev translate="label" module="auguria_sliders">
|
49 |
-
<label>Generate next/prev</label>
|
50 |
-
<frontend_type>select</frontend_type>
|
51 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
52 |
-
<sort_order>30</sort_order>
|
53 |
-
<show_in_default>1</show_in_default>
|
54 |
-
<show_in_website>1</show_in_website>
|
55 |
-
<show_in_store>1</show_in_store>
|
56 |
-
</generate_next_prev>
|
57 |
-
<generate_pagination>
|
58 |
-
<label>Generate pagination</label>
|
59 |
-
<frontend_type>select</frontend_type>
|
60 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
61 |
-
<sort_order>40</sort_order>
|
62 |
-
<show_in_default>1</show_in_default>
|
63 |
-
<show_in_website>1</show_in_website>
|
64 |
-
<show_in_store>1</show_in_store>
|
65 |
-
</generate_pagination>
|
66 |
-
<fade_speed>
|
67 |
-
<label>Fade speed</label>
|
68 |
-
<comment>Set the speed of the fading animation in milliseconds.</comment>
|
69 |
-
<frontend_type>text</frontend_type>
|
70 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
71 |
-
<sort_order>50</sort_order>
|
72 |
-
<show_in_default>1</show_in_default>
|
73 |
-
<show_in_website>1</show_in_website>
|
74 |
-
<show_in_store>1</show_in_store>
|
75 |
-
</fade_speed>
|
76 |
-
<slide_speed>
|
77 |
-
<label>Slide speed</label>
|
78 |
-
<comment>Set the speed of the sliding animation in milliseconds.</comment>
|
79 |
-
<frontend_type>text</frontend_type>
|
80 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
81 |
-
<sort_order>60</sort_order>
|
82 |
-
<show_in_default>1</show_in_default>
|
83 |
-
<show_in_website>1</show_in_website>
|
84 |
-
<show_in_store>1</show_in_store>zzz
|
85 |
-
</slide_speed>
|
86 |
-
<effect_next_prev>
|
87 |
-
<label>Effect for next/prev</label>
|
88 |
-
<comment>Set effect, slide or fade for next/prev.</comment>
|
89 |
-
<frontend_type>select</frontend_type>
|
90 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_effect</source_model>
|
91 |
-
<sort_order>70</sort_order>
|
92 |
-
<show_in_default>1</show_in_default>
|
93 |
-
<show_in_website>1</show_in_website>
|
94 |
-
<show_in_store>1</show_in_store>
|
95 |
-
</effect_next_prev>
|
96 |
-
<effect_pagination>
|
97 |
-
<label>Effect for pagination</label>
|
98 |
-
<comment>Set effect, slide or fade for pagination.</comment>
|
99 |
-
<frontend_type>select</frontend_type>
|
100 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_effect</source_model>
|
101 |
-
<sort_order>80</sort_order>
|
102 |
-
<show_in_default>1</show_in_default>
|
103 |
-
<show_in_website>1</show_in_website>
|
104 |
-
<show_in_store>1</show_in_store>
|
105 |
-
</effect_pagination>
|
106 |
-
<crossfade>
|
107 |
-
<label>Crossfade</label>
|
108 |
-
<comment>Crossfade images in a image based slideshow.</comment>
|
109 |
-
<frontend_type>select</frontend_type>
|
110 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
111 |
-
<sort_order>90</sort_order>
|
112 |
-
<show_in_default>1</show_in_default>
|
113 |
-
<show_in_website>1</show_in_website>
|
114 |
-
<show_in_store>1</show_in_store>
|
115 |
-
</crossfade>
|
116 |
-
<randomize>
|
117 |
-
<label>Randomize</label>
|
118 |
-
<comment>Set to true to randomize slides.</comment>
|
119 |
-
<frontend_type>select</frontend_type>
|
120 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
121 |
-
<sort_order>90</sort_order>
|
122 |
-
<show_in_default>1</show_in_default>
|
123 |
-
<show_in_website>1</show_in_website>
|
124 |
-
<show_in_store>1</show_in_store>
|
125 |
-
</randomize>
|
126 |
-
<play>
|
127 |
-
<label>Autoplay</label>
|
128 |
-
<comment>Autoplay slideshow, a positive number will set to true and be the time between slide animation in milliseconds.</comment>
|
129 |
-
<frontend_type>text</frontend_type>
|
130 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
131 |
-
<sort_order>100</sort_order>
|
132 |
-
<show_in_default>1</show_in_default>
|
133 |
-
<show_in_website>1</show_in_website>
|
134 |
-
<show_in_store>1</show_in_store>
|
135 |
-
</play>
|
136 |
-
<pause>
|
137 |
-
<label>Pause</label>
|
138 |
-
<comment>Pause slideshow on click of next/prev or pagination. A positive number will set to true and be the time of pause in milliseconds.</comment>
|
139 |
-
<frontend_type>text</frontend_type>
|
140 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
141 |
-
<sort_order>110</sort_order>
|
142 |
-
<show_in_default>1</show_in_default>
|
143 |
-
<show_in_website>1</show_in_website>
|
144 |
-
<show_in_store>1</show_in_store>
|
145 |
-
</pause>
|
146 |
-
<hover_pause>
|
147 |
-
<label>Hover pause</label>
|
148 |
-
<comment>Set to true and hovering over slideshow will pause it.</comment>
|
149 |
-
<frontend_type>select</frontend_type>
|
150 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
151 |
-
<sort_order>120</sort_order>
|
152 |
-
<show_in_default>1</show_in_default>
|
153 |
-
<show_in_website>1</show_in_website>
|
154 |
-
<show_in_store>1</show_in_store>
|
155 |
-
</hover_pause>
|
156 |
-
<auto_height>
|
157 |
-
<label>Auto height</label>
|
158 |
-
<comment>Set to true to auto adjust height.</comment>
|
159 |
-
<frontend_type>select</frontend_type>
|
160 |
-
<source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
|
161 |
-
<sort_order>130</sort_order>
|
162 |
-
<show_in_default>1</show_in_default>
|
163 |
-
<show_in_website>1</show_in_website>
|
164 |
-
<show_in_store>1</show_in_store>
|
165 |
-
</auto_height>
|
166 |
-
<auto_height_speed>
|
167 |
-
<label>Auto height speed</label>
|
168 |
-
<comment>Set auto height animation time in milliseconds.</comment>
|
169 |
-
<frontend_type>text</frontend_type>
|
170 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
171 |
-
<sort_order>140</sort_order>
|
172 |
-
<show_in_default>1</show_in_default>
|
173 |
-
<show_in_website>1</show_in_website>
|
174 |
-
<show_in_store>1</show_in_store>
|
175 |
-
</auto_height_speed>
|
176 |
-
|
177 |
-
<animate_caption>
|
178 |
-
<label>Animate caption</label>
|
179 |
-
<comment>A positive number will set to true and indicate animation speed in milliseconds.</comment>
|
180 |
-
<frontend_type>text</frontend_type>
|
181 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
182 |
-
<sort_order>145</sort_order>
|
183 |
-
<show_in_default>1</show_in_default>
|
184 |
-
<show_in_website>1</show_in_website>
|
185 |
-
<show_in_store>1</show_in_store>
|
186 |
-
</animate_caption>
|
187 |
-
<empty_image_height>
|
188 |
-
<label>Image height on empty page</label>
|
189 |
-
<frontend_type>text</frontend_type>
|
190 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
191 |
-
<sort_order>190</sort_order>
|
192 |
-
<show_in_default>1</show_in_default>
|
193 |
-
<show_in_website>1</show_in_website>
|
194 |
-
<show_in_store>1</show_in_store>
|
195 |
-
</empty_image_height>
|
196 |
-
<one_image_height>
|
197 |
-
<label>Image height on one column page</label>
|
198 |
-
<frontend_type>text</frontend_type>
|
199 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
200 |
-
<sort_order>200</sort_order>
|
201 |
-
<show_in_default>1</show_in_default>
|
202 |
-
<show_in_website>1</show_in_website>
|
203 |
-
<show_in_store>1</show_in_store>
|
204 |
-
</one_image_height>
|
205 |
-
<two_image_height>
|
206 |
-
<label>Image height on two columns page</label>
|
207 |
-
<frontend_type>text</frontend_type>
|
208 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
209 |
-
<sort_order>210</sort_order>
|
210 |
-
<show_in_default>1</show_in_default>
|
211 |
-
<show_in_website>1</show_in_website>
|
212 |
-
<show_in_store>1</show_in_store>
|
213 |
-
</two_image_height>
|
214 |
-
<three_image_height>
|
215 |
-
<label>Image height on three columns page</label>
|
216 |
-
<frontend_type>text</frontend_type>
|
217 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
218 |
-
<sort_order>220</sort_order>
|
219 |
-
<show_in_default>1</show_in_default>
|
220 |
-
<show_in_website>1</show_in_website>
|
221 |
-
<show_in_store>1</show_in_store>
|
222 |
-
</three_image_height>
|
223 |
-
|
224 |
-
<empty_image_width>
|
225 |
-
<label>Image width on empty page</label>
|
226 |
-
<frontend_type>text</frontend_type>
|
227 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
228 |
-
<sort_order>230</sort_order>
|
229 |
-
<show_in_default>1</show_in_default>
|
230 |
-
<show_in_website>1</show_in_website>
|
231 |
-
<show_in_store>1</show_in_store>
|
232 |
-
</empty_image_width>
|
233 |
-
<one_image_width>
|
234 |
-
<label>Image width on one column page</label>
|
235 |
-
<frontend_type>text</frontend_type>
|
236 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
237 |
-
<sort_order>240</sort_order>
|
238 |
-
<show_in_default>1</show_in_default>
|
239 |
-
<show_in_website>1</show_in_website>
|
240 |
-
<show_in_store>1</show_in_store>
|
241 |
-
</one_image_width>
|
242 |
-
<two_image_width>
|
243 |
-
<label>Image width on two columns page</label>
|
244 |
-
<frontend_type>text</frontend_type>
|
245 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
246 |
-
<sort_order>250</sort_order>
|
247 |
-
<show_in_default>1</show_in_default>
|
248 |
-
<show_in_website>1</show_in_website>
|
249 |
-
<show_in_store>1</show_in_store>
|
250 |
-
</two_image_width>
|
251 |
-
<three_image_width>
|
252 |
-
<label>Image width on three columns page</label>
|
253 |
-
<frontend_type>text</frontend_type>
|
254 |
-
<backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
|
255 |
-
<sort_order>260</sort_order>
|
256 |
-
<show_in_default>1</show_in_default>
|
257 |
-
<show_in_website>1</show_in_website>
|
258 |
-
<show_in_store>1</show_in_store>
|
259 |
-
</three_image_width>
|
260 |
-
</fields>
|
261 |
-
</general>
|
262 |
-
</groups>
|
263 |
-
</auguria_sliders>
|
264 |
-
</sections>
|
265 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/layout/auguria/sliders.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
<reference name="head">
|
13 |
<action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
|
14 |
<action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
|
15 |
-
<action method="
|
16 |
</reference>
|
17 |
<reference name="content">
|
18 |
<block type="auguria_sliders/cms_page_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
|
@@ -22,7 +22,7 @@
|
|
22 |
<reference name="head">
|
23 |
<action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
|
24 |
<action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
|
25 |
-
<action method="
|
26 |
</reference>
|
27 |
<reference name="content">
|
28 |
<block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
|
@@ -32,7 +32,7 @@
|
|
32 |
<reference name="head">
|
33 |
<action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
|
34 |
<action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
|
35 |
-
<action method="
|
36 |
</reference>
|
37 |
<reference name="content">
|
38 |
<block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
|
12 |
<reference name="head">
|
13 |
<action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
|
14 |
<action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
|
15 |
+
<action method="addItem"><type>skin_js</type><script>js/auguria/sliders/slides.min.jquery_forked.js</script></action>
|
16 |
</reference>
|
17 |
<reference name="content">
|
18 |
<block type="auguria_sliders/cms_page_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
|
22 |
<reference name="head">
|
23 |
<action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
|
24 |
<action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
|
25 |
+
<action method="addItem"><type>skin_js</type><script>js/auguria/sliders/slides.min.jquery_forked.js</script></action>
|
26 |
</reference>
|
27 |
<reference name="content">
|
28 |
<block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
|
32 |
<reference name="head">
|
33 |
<action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
|
34 |
<action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
|
35 |
+
<action method="addItem"><type>skin_js</type><script>js/auguria/sliders/slides.min.jquery_forked.js</script></action>
|
36 |
</reference>
|
37 |
<reference name="content">
|
38 |
<block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
|
app/design/frontend/base/default/template/auguria/sliders/slider.phtml
CHANGED
@@ -28,7 +28,7 @@ if ($slides && $slides->count()>0):
|
|
28 |
?>
|
29 |
<a class="auguria-slider-link"
|
30 |
href="<?php echo $slide->getLink(); ?>"
|
31 |
-
title="<?php echo $slide->getName(); ?>"> <?php
|
32 |
endif;
|
33 |
if ($displayImage):
|
34 |
?> <img class="auguria-slider-image"
|
@@ -39,14 +39,14 @@ if ($slides && $slides->count()>0):
|
|
39 |
if ($displayLink):
|
40 |
?>
|
41 |
</a>
|
42 |
-
<?php
|
43 |
endif;
|
44 |
if ($displayCmsContent):
|
45 |
?>
|
46 |
<div class="caption" style="height: <?php echo $captionHeight; ?>px;">
|
47 |
<?php echo $slide->getCmsContent(); ?>
|
48 |
</div>
|
49 |
-
<?php
|
50 |
endif;
|
51 |
?>
|
52 |
</div>
|
@@ -54,19 +54,19 @@ if ($slides && $slides->count()>0):
|
|
54 |
endforeach;
|
55 |
?>
|
56 |
</div>
|
57 |
-
<?php
|
58 |
if (Mage::getStoreConfig('auguria_sliders/general/generate_next_prev')=='true' && $slides->count()>1):
|
59 |
?>
|
60 |
<a href="#" class="prev"><span><?php echo $this->__('Previous'); ?> </span>
|
61 |
</a> <a href="#" class="next"><span><?php echo $this->__('Next'); ?> </span>
|
62 |
</a>
|
63 |
-
<?php
|
64 |
endif;
|
65 |
?>
|
66 |
</div>
|
67 |
|
68 |
<script type="text/javascript">
|
69 |
-
//<![CDATA[
|
70 |
jQuery(function(){
|
71 |
|
72 |
var slide = jQuery("#auguria-slider").slides({
|
@@ -78,7 +78,7 @@ if ($slides && $slides->count()>0):
|
|
78 |
?>
|
79 |
preload: true,
|
80 |
preloadImage: '<?php echo $this->getSkinUrl('images/auguria/sliders/loading.gif'); ?>',
|
81 |
-
<?php
|
82 |
endif;
|
83 |
?>
|
84 |
generateNextPrev: false,
|
@@ -95,30 +95,30 @@ if ($slides && $slides->count()>0):
|
|
95 |
autoHeightSpeed: <?php echo Mage::getStoreConfig('auguria_sliders/general/auto_height_speed'); ?>,
|
96 |
captionHeight: <?php echo $this->getCaptionHeight(); ?>,
|
97 |
captionSize: 16,
|
98 |
-
<?php
|
99 |
if ((int)Mage::getStoreConfig('auguria_sliders/general/animate_caption')>0):
|
100 |
?>
|
101 |
animationStart: function(current){
|
102 |
jQuery('.caption').animate({
|
103 |
bottom:-<?php echo $this->getCaptionHeight(); ?>
|
104 |
-
},<?php echo Mage::getStoreConfig('auguria_sliders/general/animate_caption'); ?>);
|
105 |
},
|
106 |
animationComplete: function(current){
|
107 |
jQuery('.caption').animate({
|
108 |
bottom:0
|
109 |
-
},<?php echo Mage::getStoreConfig('auguria_sliders/general/animate_caption'); ?>);
|
110 |
},
|
111 |
slidesLoaded: function() {
|
112 |
jQuery('.caption').animate({
|
113 |
bottom:0
|
114 |
},<?php echo Mage::getStoreConfig('auguria_sliders/general/animate_caption'); ?>);
|
115 |
}
|
116 |
-
<?php
|
117 |
endif;
|
118 |
?>
|
119 |
});
|
120 |
});
|
121 |
-
|
122 |
//]]>
|
123 |
</script>
|
124 |
<?php
|
28 |
?>
|
29 |
<a class="auguria-slider-link"
|
30 |
href="<?php echo $slide->getLink(); ?>"
|
31 |
+
title="<?php echo $slide->getName(); ?>"> <?php
|
32 |
endif;
|
33 |
if ($displayImage):
|
34 |
?> <img class="auguria-slider-image"
|
39 |
if ($displayLink):
|
40 |
?>
|
41 |
</a>
|
42 |
+
<?php
|
43 |
endif;
|
44 |
if ($displayCmsContent):
|
45 |
?>
|
46 |
<div class="caption" style="height: <?php echo $captionHeight; ?>px;">
|
47 |
<?php echo $slide->getCmsContent(); ?>
|
48 |
</div>
|
49 |
+
<?php
|
50 |
endif;
|
51 |
?>
|
52 |
</div>
|
54 |
endforeach;
|
55 |
?>
|
56 |
</div>
|
57 |
+
<?php
|
58 |
if (Mage::getStoreConfig('auguria_sliders/general/generate_next_prev')=='true' && $slides->count()>1):
|
59 |
?>
|
60 |
<a href="#" class="prev"><span><?php echo $this->__('Previous'); ?> </span>
|
61 |
</a> <a href="#" class="next"><span><?php echo $this->__('Next'); ?> </span>
|
62 |
</a>
|
63 |
+
<?php
|
64 |
endif;
|
65 |
?>
|
66 |
</div>
|
67 |
|
68 |
<script type="text/javascript">
|
69 |
+
//<![CDATA[
|
70 |
jQuery(function(){
|
71 |
|
72 |
var slide = jQuery("#auguria-slider").slides({
|
78 |
?>
|
79 |
preload: true,
|
80 |
preloadImage: '<?php echo $this->getSkinUrl('images/auguria/sliders/loading.gif'); ?>',
|
81 |
+
<?php
|
82 |
endif;
|
83 |
?>
|
84 |
generateNextPrev: false,
|
95 |
autoHeightSpeed: <?php echo Mage::getStoreConfig('auguria_sliders/general/auto_height_speed'); ?>,
|
96 |
captionHeight: <?php echo $this->getCaptionHeight(); ?>,
|
97 |
captionSize: 16,
|
98 |
+
<?php
|
99 |
if ((int)Mage::getStoreConfig('auguria_sliders/general/animate_caption')>0):
|
100 |
?>
|
101 |
animationStart: function(current){
|
102 |
jQuery('.caption').animate({
|
103 |
bottom:-<?php echo $this->getCaptionHeight(); ?>
|
104 |
+
},<?php echo Mage::getStoreConfig('auguria_sliders/general/animate_caption'); ?>);
|
105 |
},
|
106 |
animationComplete: function(current){
|
107 |
jQuery('.caption').animate({
|
108 |
bottom:0
|
109 |
+
},<?php echo Mage::getStoreConfig('auguria_sliders/general/animate_caption'); ?>);
|
110 |
},
|
111 |
slidesLoaded: function() {
|
112 |
jQuery('.caption').animate({
|
113 |
bottom:0
|
114 |
},<?php echo Mage::getStoreConfig('auguria_sliders/general/animate_caption'); ?>);
|
115 |
}
|
116 |
+
<?php
|
117 |
endif;
|
118 |
?>
|
119 |
});
|
120 |
});
|
121 |
+
|
122 |
//]]>
|
123 |
</script>
|
124 |
<?php
|
media/auguria/sliders/resized/685x300/abstract-q-c-870-300-3.jpg
DELETED
Binary file
|
media/auguria/sliders/resized/685x300/food-q-c-870-300-1.jpg
DELETED
Binary file
|
package.xml
CHANGED
@@ -1,18 +1,45 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Auguria_Sliders</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://opensource.org/licenses/gpl-
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
|
11 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<authors><author><name>Auguria</name><user>auto-converted</user><email>magento@auguria.net</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Auguria"><dir name="Sliders"><dir
|
16 |
<compatible/>
|
17 |
-
<dependencies
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Auguria_Sliders</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Display a slideshow (slidesjs.com) on cms pages and categories.
|
10 |
+
This slideshow is now responsive !!!</summary>
|
11 |
+
<description><p>It use <a href="http://slidesjs.com/">SlidesJS library.</a>, and allow to configure it in admin (slide effects, slides duration, image size,...)
|
12 |
+
<br />
|
13 |
+
Furthermore, image size is configurable by column count (empty, one, two or three) to allow adjust slider to the layout.
|
14 |
+
<br />
|
15 |
+
Only image size is configurable in admin, the slider size must be define in css style sheet.
|
16 |
+
<br />
|
17 |
+
Auguria Slider is responsive.</p>
|
18 |
+
<p><a href="http://www.auguria.com">You can see demo on the homepage at www.auguria.com</a></p>
|
19 |
+
<p><a href="http://www.auguria.com">Get more extensions at www.auguria.com</a></p>
|
20 |
+

|
21 |
+
<h1>Slider Features</h1>
|
22 |
+
<li>Name</li>
|
23 |
+
<li>Image</li>
|
24 |
+
<li>Link</li>
|
25 |
+
<li>Caption (with wysiwyg editor )</li>
|
26 |
+
<li>Sort order</li>
|
27 |
+
<li>CMS pages on wich it will be displayed</li>
|
28 |
+
<li>Categories on wich it will be displayed</li>
|
29 |
+
<li>Store views on wich it will be displayed</li>
|
30 |
+
<li>Status</li>
|
31 |
+
<br />
|
32 |
+
<h1>Documentation</h1>
|
33 |
+
<li>Documentation FR : <a href="http://fr.auguria.com/downloadable/download/sample/sample_id/10/">Manuel utilisateur v1.1.1</a></li>
|
34 |
+
<li />Documentation EN : <i>soon</i>
|
35 |
+
<br />
|
36 |
+
<br />
|
37 |
+
<p>About <a href="http://www.auguria.net">Auguria</a></p></description>
|
38 |
+
<notes>Compatibility with Magento 1.9</notes>
|
39 |
<authors><author><name>Auguria</name><user>auto-converted</user><email>magento@auguria.net</email></author></authors>
|
40 |
+
<date>2014-07-16</date>
|
41 |
+
<time>16:14:45</time>
|
42 |
+
<contents><target name="magecommunity"><dir name="Auguria"><dir name="Sliders"><dir name="Block"><dir name="Adminhtml"><dir name="Sliders"><dir name="Edit"><dir name="Tab"><file name="Categories.php" hash="6cbc37ed39941a791fe75f94403a4b5e"/><file name="Content.php" hash="07b04ae6f6a6b6ee2dc1018135d838f3"/><file name="Pages.php" hash="02a108351c3b2e31d656dab9af908583"/><file name="Stores.php" hash="a424cf6fb939c9be88f2131171b9c531"/></dir><file name="Form.php" hash="dce1fc7d623de180e1339489f5315bff"/><file name="Tabs.php" hash="cfe4e52fab1966b929e9655a3415b485"/></dir><file name="Edit.php" hash="7b1cac7b75ae5bc1350c003c10b575eb"/><file name="Grid.php" hash="0069ee090f790ca0d85d28963f50d886"/></dir><file name="Sliders.php" hash="2ae7953c07288edbd0881d1db5e2ccd0"/></dir><dir name="Catalog"><dir name="Category"><file name="Slider.php" hash="3ef5c7b510103103e4168397ec7a05bd"/></dir></dir><dir name="Cms"><dir name="Page"><file name="Slider.php" hash="19132d7e1c270f1520263264ae7194f0"/></dir></dir><file name="Abstract.php" hash="7f72df624210750724be208f6f1b59e0"/></dir><dir name="Helper"><file name="Data.php" hash="e678aa6c8c041c355c80bc5bb949052c"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><file name="NaturalNumber.php" hash="c14ed5eb3e189f07e78057a6721d20b0"/></dir><dir name="Source"><dir name="Cms"><file name="Page.php" hash="46dec918ceb64ba46c8af008628b7f5e"/></dir><file name="Effect.php" hash="8ce3805e4ce235a6e33eb6b511d03838"/><file name="Truefalse.php" hash="50c326540c0685383f8bacbecf7b99b5"/></dir></dir></dir></dir><dir name="Mysql4"><dir name="Sliders"><file name="Collection.php" hash="614e0958d097879bbbc55aeb80d542e1"/></dir><file name="Sliders.php" hash="004278067d46e600ca944fafae86d02c"/></dir><file name="Sliders.php" hash="46cea50641763afa3179a2bea516b490"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SlidersController.php" hash="260661ad6c4e23ae6e3c6b45a28be4c1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="cc511e595cafb5c84130235cf6d9c72c"/><file name="config.xml" hash="463fdeb1e6facedffd8bb99d389ceb04"/><file name="system.xml" hash="097f70863b026b927e7f7f2703761ba9"/></dir><dir name="sql"><dir name="auguria_sliders_setup"><file name="mysql4-install-0.0.1.php" hash="cfaff3ef218bf8686048a1cc0726cbe9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="c6fda6f4700f4078d95ecd44f29e2e0e"/><file name="mysql4-upgrade-0.0.1-0.0.2.php~" hash="ee07a208deaa2dd161f78b59230721a7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sliders.xml" hash="86eb892aabf16df7ca32e9ad57ace294"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sliders"><file name="slider.phtml" hash="3f6b43aeee8163aa8331b186638e01ea"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sliders.xml" hash="dd894628e702da0a11f52a17c082dd88"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sliders"><dir name="edit"><file name="categories.phtml" hash="5444cc24a21bc011f8722038a5feb5f7"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="sliders"><file name="jquery-1.7.2.min.js" hash="b8d64d0bc142b3f670cc0611b0aebcae"/></dir></dir></dir></target><target name="magemedia"><dir name="auguria"><dir name="sliders"><file name="abstract.jpg" hash="dc8f2a9d7e17678b44572cc32c445d13"/><file name="food.jpg" hash="a2335e7846d80b1f1d2cb03828e60b92"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="sliders"><file name="default.css" hash="bcda6d1e061d46a2ad6a4742707d959b"/></dir></dir></dir><dir name="js"><dir name="auguria"><dir name="sliders"><file name="slides.min.jquery_forked.js" hash="48b3fcfb4085e316dfd64caed502da4a"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="sliders"><file name="loading.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="next-hover.png" hash="88aac1540ed5d8db2bf952ba4ec4763a"/><file name="next.png" hash="d37920de5bccdec9a2b3ba1e522e10af"/><file name="pagination.png" hash="04244bffef3368ef2d9088d584e75d11"/><file name="previous-hover.png" hash="49e94b0b4ae1fc84adebec5d1841495d"/><file name="previous.png" hash="5aa8e141a4df9c28ebfddbdb77fbb5c2"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_Sliders.xml" hash="6bb3f950e75ac8b75d5d6605b74592bf"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_Sliders.csv" hash="3fb1bbf42e31aa183a25f5457349311e"/></dir></target></contents>
|
43 |
<compatible/>
|
44 |
+
<dependencies/>
|
45 |
</package>
|
{js → skin/frontend/base/default/js}/auguria/sliders/slides.min.jquery_forked.js
RENAMED
@@ -87,7 +87,7 @@
|
|
87 |
$(".caption").each(function(index, caption){
|
88 |
$(caption).css({
|
89 |
"font-size": Math.round(caption_size * block_height / max_height)+"px",
|
90 |
-
"width":
|
91 |
"height": (caption_height * block_height / max_height)+"px",
|
92 |
"line-height": Math.round(caption_size * block_height / max_height)+"px",
|
93 |
});
|
87 |
$(".caption").each(function(index, caption){
|
88 |
$(caption).css({
|
89 |
"font-size": Math.round(caption_size * block_height / max_height)+"px",
|
90 |
+
"width": $(caption).parent().width()+"px",
|
91 |
"height": (caption_height * block_height / max_height)+"px",
|
92 |
"line-height": Math.round(caption_size * block_height / max_height)+"px",
|
93 |
});
|