Version Notes
stable release
Download this release
Release Info
Developer | Magento Core Team |
Extension | ET_Lytebox |
Version | 0.1.5 |
Comparing to | |
See all releases |
Code changes from version 0.1.4 to 0.1.5
app/code/community/ET/ET_Lytebox_ChangeLog.txt
CHANGED
@@ -11,6 +11,9 @@ TODO:
|
|
11 |
|
12 |
|
13 |
=====================================
|
|
|
|
|
|
|
14 |
ver. 0.1.4
|
15 |
* js fixed for MS IE 9 support
|
16 |
|
11 |
|
12 |
|
13 |
=====================================
|
14 |
+
ver. 0.1.5
|
15 |
+
* js fixed for Opera 11
|
16 |
+
|
17 |
ver. 0.1.4
|
18 |
* js fixed for MS IE 9 support
|
19 |
|
app/code/community/ET/Lytebox/Helper/Data.php
CHANGED
@@ -16,9 +16,9 @@
|
|
16 |
* @copyright Copyright (c) 2010 ET Web Solutions (http://etwebsolutions.com)
|
17 |
* @contacts support@etwebsolutions.com
|
18 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
-
*/
|
20 |
-
|
21 |
class ET_Lytebox_Helper_Data extends Mage_Core_Helper_Abstract
|
22 |
{
|
23 |
-
|
24 |
}
|
16 |
* @copyright Copyright (c) 2010 ET Web Solutions (http://etwebsolutions.com)
|
17 |
* @contacts support@etwebsolutions.com
|
18 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
class ET_Lytebox_Helper_Data extends Mage_Core_Helper_Abstract
|
22 |
{
|
23 |
+
|
24 |
}
|
app/code/community/ET/Lytebox/etc/config.xml
CHANGED
@@ -19,70 +19,70 @@
|
|
19 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
20 |
*/
|
21 |
-->
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
<descr>
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
</descr>
|
38 |
</ET_Lytebox>
|
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 |
<default>
|
68 |
-
|
69 |
-
|
70 |
<enabled>0</enabled>
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
<themeName>grey</themeName>
|
75 |
<mainImageSize>265_265</mainImageSize>
|
76 |
<popupImageSize>500_500</popupImageSize>
|
77 |
<additionalImageSize>60_60</additionalImageSize>
|
78 |
-
|
79 |
<animate>1</animate>
|
80 |
<maxOpacity>80</maxOpacity>
|
81 |
<resizeSpeed>7</resizeSpeed>
|
82 |
<borderSize>12</borderSize>
|
83 |
<labelImage>Image </labelImage>
|
84 |
<labelOf> of </labelOf>
|
85 |
-
|
86 |
<slideshow>
|
87 |
<slideInterval>4000</slideInterval>
|
88 |
<showNavigation>1</showNavigation>
|
@@ -92,47 +92,47 @@
|
|
92 |
<autoEnd>1</autoEnd>
|
93 |
<pauseOnNextClick>0</pauseOnNextClick>
|
94 |
<pauseOnPrevClick>1</pauseOnPrevClick>
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
<translate>
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
</translate>
|
137 |
-
|
138 |
</config>
|
19 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
20 |
*/
|
21 |
-->
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<ET_Lytebox>
|
25 |
+
<version>0.1.5</version>
|
26 |
<descr>
|
27 |
+
<ru_RU>
|
28 |
+
Интеграция в Magento просмоторщика изображений Lytebox (http://www.dolem.com/lytebox/).
|
29 |
+
* Заменяет стандартное окно, в котором показывается изображение товара.
|
30 |
+
* Добавляет возможность использовать Lytebox на CMS страницах.
|
31 |
+
</ru_RU>
|
32 |
+
<en_US>
|
33 |
+
This extension integrates Lytebox viewer (http://www.dolem.com/lytebox/).
|
34 |
+
* Replaces default popup window on product view page
|
35 |
+
* Adds possibility to use Lytebox on CMS pages
|
36 |
+
</en_US>
|
37 |
</descr>
|
38 |
</ET_Lytebox>
|
39 |
+
</modules>
|
40 |
+
<global>
|
41 |
+
<helpers>
|
42 |
+
<lytebox>
|
43 |
+
<class>ET_Lytebox_Helper</class>
|
44 |
+
</lytebox>
|
45 |
+
</helpers>
|
46 |
+
<resources>
|
47 |
+
<lytebox_setup>
|
48 |
+
<setup>
|
49 |
+
<module>ET_Lytebox</module>
|
50 |
+
</setup>
|
51 |
+
<connection>
|
52 |
+
<use>core_setup</use>
|
53 |
+
</connection>
|
54 |
+
</lytebox_setup>
|
55 |
+
<lytebox_write>
|
56 |
+
<connection>
|
57 |
+
<use>core_write</use>
|
58 |
+
</connection>
|
59 |
+
</lytebox_write>
|
60 |
+
<lytebox_read>
|
61 |
+
<connection>
|
62 |
+
<use>core_read</use>
|
63 |
+
</connection>
|
64 |
+
</lytebox_read>
|
65 |
+
</resources>
|
66 |
+
</global>
|
67 |
<default>
|
68 |
+
<lytebox>
|
69 |
+
<general>
|
70 |
<enabled>0</enabled>
|
71 |
+
<defaultzoom>0</defaultzoom>
|
72 |
+
</general>
|
73 |
+
<design>
|
74 |
<themeName>grey</themeName>
|
75 |
<mainImageSize>265_265</mainImageSize>
|
76 |
<popupImageSize>500_500</popupImageSize>
|
77 |
<additionalImageSize>60_60</additionalImageSize>
|
78 |
+
<productName>0</productName>
|
79 |
<animate>1</animate>
|
80 |
<maxOpacity>80</maxOpacity>
|
81 |
<resizeSpeed>7</resizeSpeed>
|
82 |
<borderSize>12</borderSize>
|
83 |
<labelImage>Image </labelImage>
|
84 |
<labelOf> of </labelOf>
|
85 |
+
</design>
|
86 |
<slideshow>
|
87 |
<slideInterval>4000</slideInterval>
|
88 |
<showNavigation>1</showNavigation>
|
92 |
<autoEnd>1</autoEnd>
|
93 |
<pauseOnNextClick>0</pauseOnNextClick>
|
94 |
<pauseOnPrevClick>1</pauseOnPrevClick>
|
95 |
+
</slideshow>
|
96 |
+
</lytebox>
|
97 |
+
</default>
|
98 |
+
<frontend>
|
99 |
+
<layout>
|
100 |
+
<updates>
|
101 |
+
<lytebox>
|
102 |
+
<file>etlytebox.xml</file>
|
103 |
+
</lytebox>
|
104 |
+
</updates>
|
105 |
+
</layout>
|
106 |
+
</frontend>
|
107 |
+
<adminhtml>
|
108 |
+
<acl>
|
109 |
+
<resources>
|
110 |
+
<admin>
|
111 |
+
<children>
|
112 |
+
<system>
|
113 |
+
<children>
|
114 |
+
<config>
|
115 |
+
<children>
|
116 |
+
<lytebox translate="title" module="lytebox">
|
117 |
+
<title>ET Lytebox Section</title>
|
118 |
+
<sort_order>300</sort_order>
|
119 |
+
</lytebox>
|
120 |
+
</children>
|
121 |
+
</config>
|
122 |
+
</children>
|
123 |
+
</system>
|
124 |
+
</children>
|
125 |
+
</admin>
|
126 |
+
</resources>
|
127 |
+
</acl>
|
128 |
<translate>
|
129 |
+
<modules>
|
130 |
+
<ET_Lytebox>
|
131 |
+
<files>
|
132 |
+
<default>ET_Lytebox.csv</default>
|
133 |
+
</files>
|
134 |
+
</ET_Lytebox>
|
135 |
+
</modules>
|
136 |
</translate>
|
137 |
+
</adminhtml>
|
138 |
</config>
|
app/code/community/ET/Lytebox/etc/system.xml
CHANGED
@@ -27,250 +27,245 @@
|
|
27 |
</etall>
|
28 |
</tabs>
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
<enabled translate="label comment">
|
49 |
-
|
50 |
<comment>If enabled: include js, css files to frontend and replace template for images popup</comment>
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
</enabled>
|
58 |
<defaultzoom translate="label">
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
<design>
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
<slideshow>
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
<pauseOnNextClick translate="label comment">
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
</fields>
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
</groups>
|
274 |
-
</lytebox>
|
275 |
-
</sections>
|
276 |
</config>
|
27 |
</etall>
|
28 |
</tabs>
|
29 |
|
30 |
+
<sections>
|
31 |
+
<lytebox translate="label" module="lytebox">
|
32 |
+
<label>Lytebox</label>
|
33 |
+
<tab>etall</tab>
|
34 |
+
<frontend_type>text</frontend_type>
|
35 |
+
<sort_order>300</sort_order>
|
36 |
+
<show_in_default>1</show_in_default>
|
37 |
+
<show_in_website>1</show_in_website>
|
38 |
+
<show_in_store>1</show_in_store>
|
39 |
+
<groups>
|
40 |
+
<general translate="label">
|
41 |
+
<label>Lytebox options</label>
|
42 |
+
<frontend_type>text</frontend_type>
|
43 |
+
<sort_order>10</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 |
+
<fields>
|
48 |
<enabled translate="label comment">
|
49 |
+
<label>Enable lytebox</label>
|
50 |
<comment>If enabled: include js, css files to frontend and replace template for images popup</comment>
|
51 |
+
<frontend_type>select</frontend_type>
|
52 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
53 |
+
<sort_order>1</sort_order>
|
54 |
+
<show_in_default>1</show_in_default>
|
55 |
+
<show_in_website>1</show_in_website>
|
56 |
+
<show_in_store>1</show_in_store>
|
57 |
</enabled>
|
58 |
<defaultzoom translate="label">
|
59 |
+
<label>Keep Magento zoom</label>
|
60 |
+
<frontend_type>select</frontend_type>
|
61 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
62 |
+
<sort_order>3</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 |
+
</defaultzoom>
|
67 |
+
</fields>
|
68 |
+
</general>
|
69 |
<design>
|
70 |
+
<label>Lytebox design options</label>
|
71 |
+
<frontend_type>text</frontend_type>
|
72 |
+
<sort_order>20</sort_order>
|
73 |
+
<show_in_default>1</show_in_default>
|
74 |
+
<show_in_website>1</show_in_website>
|
75 |
+
<show_in_store>1</show_in_store>
|
76 |
+
<fields>
|
77 |
+
<themeName translate="label comment">
|
78 |
+
<label>Lyteboxs theme</label>
|
79 |
+
<comment>Style in CSS. (Avalable themes: grey, blue, gold, green, red. Default: grey).</comment>
|
80 |
+
<frontend_type>text</frontend_type>
|
81 |
+
<sort_order>4</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>
|
85 |
+
</themeName>
|
86 |
+
<mainImageSize translate="label comment">
|
87 |
+
<label>Size of main image</label>
|
88 |
+
<comment>Size in pixels width_height. (Default 265_265).</comment>
|
89 |
+
<frontend_type>text</frontend_type>
|
90 |
+
<sort_order>5</sort_order>
|
91 |
+
<show_in_default>1</show_in_default>
|
92 |
+
<show_in_website>1</show_in_website>
|
93 |
+
<show_in_store>1</show_in_store>
|
94 |
+
</mainImageSize>
|
95 |
+
<popupImageSize translate="label comment">
|
96 |
+
<label>Size of popup image</label>
|
97 |
+
<comment>Size in pixels width_height. (Default 500_500, also can be only width, or empty for full size).</comment>
|
98 |
+
<frontend_type>text</frontend_type>
|
99 |
+
<sort_order>6</sort_order>
|
100 |
+
<show_in_default>1</show_in_default>
|
101 |
+
<show_in_website>1</show_in_website>
|
102 |
+
<show_in_store>1</show_in_store>
|
103 |
+
</popupImageSize>
|
104 |
+
<additionalImageSize translate="label comment">
|
105 |
+
<label>Size of additional images</label>
|
106 |
+
<comment>Size in pixels width_height. (Default 60_60)</comment>
|
107 |
+
<frontend_type>text</frontend_type>
|
108 |
+
<sort_order>10</sort_order>
|
109 |
+
<show_in_default>1</show_in_default>
|
110 |
+
<show_in_website>1</show_in_website>
|
111 |
+
<show_in_store>1</show_in_store>
|
112 |
+
</additionalImageSize>
|
113 |
+
<productName translate="label comment">
|
114 |
+
<label>Replace empty image label</label>
|
115 |
+
<comment>Dipslays product name if image label is empty</comment>
|
116 |
+
<frontend_type>select</frontend_type>
|
117 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
118 |
+
<sort_order>13</sort_order>
|
119 |
+
<show_in_default>1</show_in_default>
|
120 |
+
<show_in_website>1</show_in_website>
|
121 |
+
<show_in_store>1</show_in_store>
|
122 |
+
</productName>
|
123 |
+
<animate translate="label">
|
124 |
+
<label>Enable lytebox animation</label>
|
125 |
+
<frontend_type>select</frontend_type>
|
126 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
127 |
+
<sort_order>15</sort_order>
|
128 |
+
<show_in_default>1</show_in_default>
|
129 |
+
<show_in_website>1</show_in_website>
|
130 |
+
<show_in_store>1</show_in_store>
|
131 |
+
</animate>
|
132 |
+
<maxOpacity translate="label comment">
|
133 |
+
<label>Max Opacity</label>
|
134 |
+
<comment>Controls transparency of shadow overlay (higher opacity = darker overlay, lower opacity = lighter overlay. Default: 80)</comment>
|
135 |
+
<frontend_type>text</frontend_type>
|
136 |
+
<sort_order>20</sort_order>
|
137 |
+
<show_in_default>1</show_in_default>
|
138 |
+
<show_in_website>1</show_in_website>
|
139 |
+
<show_in_store>1</show_in_store>
|
140 |
+
</maxOpacity>
|
141 |
+
<resizeSpeed translate="label comment">
|
142 |
+
<label>Resize speed</label>
|
143 |
+
<comment>Controls the speed of the image resizing animations (1=slowest and 10=fastest, 8 by default)</comment>
|
144 |
+
<frontend_type>text</frontend_type>
|
145 |
+
<sort_order>25</sort_order>
|
146 |
+
<show_in_default>1</show_in_default>
|
147 |
+
<show_in_website>1</show_in_website>
|
148 |
+
<show_in_store>1</show_in_store>
|
149 |
+
</resizeSpeed>
|
150 |
+
<borderSize translate="label comment">
|
151 |
+
<label>Border size</label>
|
152 |
+
<comment>Border width around image in lytebox (12 by default)</comment>
|
153 |
+
<frontend_type>text</frontend_type>
|
154 |
+
<sort_order>30</sort_order>
|
155 |
+
<show_in_default>1</show_in_default>
|
156 |
+
<show_in_website>1</show_in_website>
|
157 |
+
<show_in_store>1</show_in_store>
|
158 |
+
</borderSize>
|
159 |
+
<labelImage translate="label comment">
|
160 |
+
<label>Label 'Image'</label>
|
161 |
+
<comment>When grouping images this is used to write: 'Image # of #'</comment>
|
162 |
+
<frontend_type>text</frontend_type>
|
163 |
+
<sort_order>35</sort_order>
|
164 |
+
<show_in_default>1</show_in_default>
|
165 |
+
<show_in_website>1</show_in_website>
|
166 |
+
<show_in_store>1</show_in_store>
|
167 |
+
</labelImage>
|
168 |
+
<labelOf translate="label comment">
|
169 |
+
<label>Label 'of'</label>
|
170 |
+
<comment>When grouping images this is used to write: 'Image # of #'</comment>
|
171 |
+
<frontend_type>text</frontend_type>
|
172 |
+
<sort_order>40</sort_order>
|
173 |
+
<show_in_default>1</show_in_default>
|
174 |
+
<show_in_website>1</show_in_website>
|
175 |
+
<show_in_store>1</show_in_store>
|
176 |
+
</labelOf>
|
177 |
+
</fields>
|
178 |
+
</design>
|
179 |
<slideshow>
|
180 |
+
<label>Lytebox slideshow options (for CMS pages only)</label>
|
181 |
+
<frontend_type>text</frontend_type>
|
182 |
+
<sort_order>30</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 |
+
<fields>
|
187 |
+
<slideInterval translate="label comment">
|
188 |
+
<label>Slide interval</label>
|
189 |
+
<comment>Change value (milliseconds) to increase/decrease the time between "slides" (10000 = 10 seconds)</comment>
|
190 |
+
<frontend_type>text</frontend_type>
|
191 |
+
<sort_order>10</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 |
+
</slideInterval>
|
196 |
+
<showNavigation translate="label comment">
|
197 |
+
<label>Show navigation</label>
|
198 |
+
<comment>Yes to display Next/Prev buttons/text during slideshow, No to hide</comment>
|
199 |
+
<frontend_type>select</frontend_type>
|
200 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
201 |
+
<sort_order>20</sort_order>
|
202 |
+
<show_in_default>1</show_in_default>
|
203 |
+
<show_in_website>1</show_in_website>
|
204 |
+
<show_in_store>1</show_in_store>
|
205 |
+
</showNavigation>
|
206 |
+
<showClose translate="label comment">
|
207 |
+
<label>Show Close button</label>
|
208 |
+
<comment>Yes to display the Close button, No to hide</comment>
|
209 |
+
<frontend_type>select</frontend_type>
|
210 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
211 |
+
<sort_order>30</sort_order>
|
212 |
+
<show_in_default>1</show_in_default>
|
213 |
+
<show_in_website>1</show_in_website>
|
214 |
+
<show_in_store>1</show_in_store>
|
215 |
+
</showClose>
|
216 |
+
<showDetails translate="label comment">
|
217 |
+
<label>Show details</label>
|
218 |
+
<comment>Yes to display image details (caption, count), No to hide</comment>
|
219 |
+
<frontend_type>select</frontend_type>
|
220 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
221 |
+
<sort_order>40</sort_order>
|
222 |
+
<show_in_default>1</show_in_default>
|
223 |
+
<show_in_website>1</show_in_website>
|
224 |
+
<show_in_store>1</show_in_store>
|
225 |
+
</showDetails>
|
226 |
+
<showPlayPause translate="label comment">
|
227 |
+
<label>Show Play/Pause button</label>
|
228 |
+
<comment>Yes to display pause/play buttons next to close button, No to hide</comment>
|
229 |
+
<frontend_type>select</frontend_type>
|
230 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
231 |
+
<sort_order>50</sort_order>
|
232 |
+
<show_in_default>1</show_in_default>
|
233 |
+
<show_in_website>1</show_in_website>
|
234 |
+
<show_in_store>1</show_in_store>
|
235 |
+
</showPlayPause>
|
236 |
+
<autoEnd translate="label comment">
|
237 |
+
<label>Auto end</label>
|
238 |
+
<comment>Yes to automatically close Lytebox after the last image is reached, No to keep open</comment>
|
239 |
+
<frontend_type>select</frontend_type>
|
240 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
241 |
+
<sort_order>60</sort_order>
|
242 |
+
<show_in_default>1</show_in_default>
|
243 |
+
<show_in_website>1</show_in_website>
|
244 |
+
<show_in_store>1</show_in_store>
|
245 |
+
</autoEnd>
|
246 |
<pauseOnNextClick translate="label comment">
|
247 |
+
<label>Pause on Next click</label>
|
248 |
+
<comment>Yes to pause the slideshow when the "Next" button is clicked</comment>
|
249 |
+
<frontend_type>select</frontend_type>
|
250 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
251 |
+
<sort_order>70</sort_order>
|
252 |
+
<show_in_default>1</show_in_default>
|
253 |
+
<show_in_website>1</show_in_website>
|
254 |
+
<show_in_store>1</show_in_store>
|
255 |
+
</pauseOnNextClick>
|
256 |
+
<pauseOnPrevClick translate="label comment">
|
257 |
+
<label>Pause on Prev click</label>
|
258 |
+
<comment>Yes to pause the slideshow when the "Prev" button is clicked</comment>
|
259 |
+
<frontend_type>select</frontend_type>
|
260 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
261 |
+
<sort_order>80</sort_order>
|
262 |
+
<show_in_default>1</show_in_default>
|
263 |
+
<show_in_website>1</show_in_website>
|
264 |
+
<show_in_store>1</show_in_store>
|
265 |
+
</pauseOnPrevClick>
|
266 |
</fields>
|
267 |
+
</slideshow>
|
268 |
+
</groups>
|
269 |
+
</lytebox>
|
270 |
+
</sections>
|
|
|
|
|
|
|
|
|
|
|
271 |
</config>
|
js/lytebox/lytebox.js
CHANGED
@@ -676,6 +676,12 @@ LyteBox.prototype.end = function(caller) {
|
|
676 |
}
|
677 |
};
|
678 |
LyteBox.prototype.checkFrame = function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
679 |
if (window.parent.frames[window.name] && (parent.document.getElementsByTagName('frameset').length <= 0)) {
|
680 |
this.isFrame = true;
|
681 |
this.lytebox = "window.parent." + window.name + ".myLytebox";
|
@@ -684,7 +690,7 @@ LyteBox.prototype.checkFrame = function() {
|
|
684 |
this.isFrame = false;
|
685 |
this.lytebox = "myLytebox";
|
686 |
this.doc = document;
|
687 |
-
}
|
688 |
};
|
689 |
LyteBox.prototype.getPixelRate = function(cur, img) {
|
690 |
var diff = (img > cur) ? img - cur : cur - img;
|
676 |
}
|
677 |
};
|
678 |
LyteBox.prototype.checkFrame = function() {
|
679 |
+
|
680 |
+
this.isFrame = false;
|
681 |
+
this.lytebox = "myLytebox";
|
682 |
+
this.doc = document;
|
683 |
+
return;
|
684 |
+
/*
|
685 |
if (window.parent.frames[window.name] && (parent.document.getElementsByTagName('frameset').length <= 0)) {
|
686 |
this.isFrame = true;
|
687 |
this.lytebox = "window.parent." + window.name + ".myLytebox";
|
690 |
this.isFrame = false;
|
691 |
this.lytebox = "myLytebox";
|
692 |
this.doc = document;
|
693 |
+
}*/
|
694 |
};
|
695 |
LyteBox.prototype.getPixelRate = function(cur, img) {
|
696 |
var diff = (img > cur) ? img - cur : cur - img;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ET_Lytebox</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -12,9 +12,9 @@
|
|
12 |
* Adds possibility to use Lytebox on CMS pages</description>
|
13 |
<notes>stable release</notes>
|
14 |
<authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
|
15 |
-
<date>2011-
|
16 |
-
<time>13:
|
17 |
-
<contents><target name="magelocale"><dir name="en_US"><file name="ET_Lytebox.csv" hash="5459744820cfced72d8430780d5ad76c"/></dir><dir name="ru_RU"><file name="ET_Lytebox.csv" hash="86730c26ff89bef20b6071c946516ca4"/></dir></target><target name="magecommunity"><dir name="ET"><dir name="Lytebox"><dir name="etc"><file name="config.xml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ET_Lytebox</name>
|
4 |
+
<version>0.1.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
7 |
<channel>community</channel>
|
12 |
* Adds possibility to use Lytebox on CMS pages</description>
|
13 |
<notes>stable release</notes>
|
14 |
<authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
|
15 |
+
<date>2011-05-09</date>
|
16 |
+
<time>07:13:29</time>
|
17 |
+
<contents><target name="magelocale"><dir name="en_US"><file name="ET_Lytebox.csv" hash="5459744820cfced72d8430780d5ad76c"/></dir><dir name="ru_RU"><file name="ET_Lytebox.csv" hash="86730c26ff89bef20b6071c946516ca4"/></dir></target><target name="magecommunity"><dir name="ET"><dir name="Lytebox"><dir name="etc"><file name="config.xml" hash="085cec80fdec2d2ba954886bcd1538c7"/><file name="system.xml" hash="78a7680cdfd8180cdbab154d687a78c8"/></dir><dir name="Helper"><file name="Data.php" hash="a1cb8a8da384da44b8ff23e387b53590"/></dir></dir><file name="ET_Lytebox_ChangeLog.txt" hash="e6711f4b0b89a5d164ae3969dbeb6518"/><file name="ET_Lytebox_Description.txt" hash="fbf22c2ec168d25a52aed254da4d2be0"/><file name="ET_Lytebox_LICENSE.txt" hash="b799504264c23c11a941473d7a3e3ab7"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="etlytebox.xml" hash="b0bee7bc11de0e96d2b8bb93d43e061d"/></dir><dir name="template"><dir name="etlytebox"><file name="config.phtml" hash="9af6c10f53a65a96041c7595d41a5525"/><file name="media.phtml" hash="abeeaaa21039e78e0251dd3b7b11e29d"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="lytebox"><dir name="images"><file name="blank.gif" hash="fc94fb0c3ed8a8f909dbc7630a0987ff"/><file name="close_blue_en.png" hash="9b7f3227900df3d4ff12f8432f77f0f3"/><file name="close_blue_lv.png" hash="c2918968a7d7e48a94e1b155bdd24b5b"/><file name="close_blue_ru.png" hash="65bc99e38fde51995a890fca2e399635"/><file name="close_gold_en.png" hash="19ffff14ee2934527a746507fb3eca31"/><file name="close_gold_lv.png" hash="16dd7c4be3bf095a32707d1c7f90b8f1"/><file name="close_gold_ru.png" hash="65ef7df11a89f7d496e89d86eeda98e1"/><file name="close_green_en.png" hash="760c55c6c543de9e944c9acee67047f6"/><file name="close_green_lv.png" hash="f9042688c084ced0f594fc596e89b501"/><file name="close_green_ru.png" hash="ad0f17ee11738c3f7bc243d511aa62a9"/><file name="close_grey_en.png" hash="fc0890f299ef7ce588271b24ff54d05d"/><file name="close_grey_lv.png" hash="921cd84e540e3c1a32061e1304a6aae9"/><file name="close_grey_ru.png" hash="0889160ffb8d57b9e9afed7ae222fb06"/><file name="close_red_en.png" hash="3dc61e5fe9a718d9c572f76abdfce117"/><file name="close_red_lv.png" hash="c35b81d8edfd281f238f582e6114f526"/><file name="close_red_ru.png" hash="8e2b1be515257d760ac4a9f097b85ecb"/><file name="loading.gif" hash="7e99e1159a3686f6aa4f90043c554483"/><file name="next_blue_en.gif" hash="991382cc703fede8211caf90bfc9d7b2"/><file name="next_blue_ru.gif" hash="bf431a3d2522fdd3c4732e657220a0e7"/><file name="next_gold_en.gif" hash="dac1b61671657bd345033f829b4d023e"/><file name="next_gold_ru.gif" hash="fd01918d77914c2bfb5ed7d83556134d"/><file name="next_green_en.gif" hash="aa40e7e01716700cf7b0ac0bbd54aa83"/><file name="next_green_ru.gif" hash="31bbef93e2c6fda78eb970c4ae476ff2"/><file name="next_grey_en.gif" hash="05f1304f3693fe3d220fc71ec9ce6704"/><file name="next_grey_ru.gif" hash="7e0f0c3d83dc75cc60449136e97ce7ce"/><file name="next_red_en.gif" hash="dc8d51d41cc518d963cd94ac0caa16b0"/><file name="next_red_ru.gif" hash="4509ceb5e6f53e1997fca3153cc9aba2"/><file name="pause_blue_en.png" hash="ea7218fe22534380f23efd5e99375fcc"/><file name="pause_blue_ru.png" hash="1f660b603405d2424b708c53605d9e0c"/><file name="pause_gold_en.png" hash="faef71f5386ed44c5caf95bfa562780e"/><file name="pause_gold_ru.png" hash="d89a3aff5c69289d280900cb2fc61d60"/><file name="pause_green_en.png" hash="25e4b8b88e16560e71bbf3b0ad70dac8"/><file name="pause_green_ru.png" hash="93f304e8fa3893adde6a13f02135edcf"/><file name="pause_grey_en.png" hash="54e9f0574c100e280ef757e6d52bdb67"/><file name="pause_grey_ru.png" hash="a1981ec0d8264c24a4e71edde3307f41"/><file name="pause_red_en.png" hash="d33377c32008d7eded0908d8533d5f8a"/><file name="pause_red_ru.png" hash="306a87f1017e5a84baacd8b067475d23"/><file name="play_blue_en.png" hash="b447167c055a67c93f58eeb7d9a3c5af"/><file name="play_blue_ru.png" hash="447474f30a4d5e486b99b69fba981e97"/><file name="play_gold_en.png" hash="049ea18b682fe928eac3aaa905d82d8d"/><file name="play_gold_ru.png" hash="0f71c24168b4488640c28a4c271675a0"/><file name="play_green_en.png" hash="fec50e905f687f28a414a6a5d1a159e0"/><file name="play_green_ru.png" hash="272da068574288b65f6d25ef0c524df4"/><file name="play_grey_en.png" hash="dd83740fb3ed1b0dcd9670099a98d72d"/><file name="play_grey_ru.png" hash="d5332b6699662d9b40bb6f69990f2f61"/><file name="play_red_en.png" hash="338e9cdb52c3a8c7fd2547a21899a88c"/><file name="play_red_ru.png" hash="d1a6dba2bf6fab5d1004a7aeeb8d0a38"/><file name="prev_blue_en.gif" hash="78b24fd9e1ecc8a10996f5a0d3b2730f"/><file name="prev_blue_ru.gif" hash="88d8a023dabcbc0a1003d5ced86f726b"/><file name="prev_gold_en.gif" hash="758083084ccf7726b1f08ed201368360"/><file name="prev_gold_ru.gif" hash="f7173b03bfd80a4ea2dbc3bb1136965e"/><file name="prev_green_en.gif" hash="e61ec81e13986afde7600d81a8bb037e"/><file name="prev_green_ru.gif" hash="bb143bea45ac49d8f2479bfec3ff015a"/><file name="prev_grey_en.gif" hash="37fc1dbf036133a4a0c0f07c69912a91"/><file name="prev_grey_ru.gif" hash="ecf2677d6f42738dc94780f0a084591b"/><file name="prev_red_en.gif" hash="9316b29639a30b42ecdd6dfb52167eb3"/><file name="prev_red_ru.gif" hash="1f499531e24d983be839a3e152e63f98"/></dir><file name="lytebox_base.css" hash="625e129c5dbd408502421afc78105457"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="lytebox"><file name="lytebox.js" hash="f8ae2c5ec07b69dad6092a9ede394ab7"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ET_Lytebox.xml" hash="4656c4160f47cffc87248426da8b89a6"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|