magento_colorbox - Version 1.0.6

Version Notes

1.0.6

Download this release

Release Info

Developer Magento Core Team
Extension magento_colorbox
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.5 to 1.0.6

app/code/community/Magazento/Colorbox/etc/system.xml CHANGED
@@ -33,6 +33,18 @@
33
  <show_in_website>1</show_in_website>
34
  <show_in_store>0</show_in_store>
35
  </enable>
 
 
 
 
 
 
 
 
 
 
 
 
36
  <skin translate="label">
37
  <label>Colorbox skin</label>
38
  <frontend_type>select</frontend_type>
@@ -80,7 +92,7 @@
80
  <show_in_store>1</show_in_store>
81
  </scalephotos>
82
  <scrolling translate="label">
83
- <label>scalePhotos</label>
84
  <frontend_type>select</frontend_type>
85
  <source_model>colorbox/source_boolean</source_model>
86
  <comment>
@@ -92,7 +104,7 @@
92
  <show_in_store>1</show_in_store>
93
  </scrolling>
94
  <opacity translate="label">
95
- <label>scalePhotos</label>
96
  <frontend_type>select</frontend_type>
97
  <source_model>colorbox/source_boolean</source_model>
98
  <comment>
@@ -104,7 +116,7 @@
104
  <show_in_store>1</show_in_store>
105
  </opacity>
106
  <open translate="label">
107
- <label>scalePhotos</label>
108
  <frontend_type>select</frontend_type>
109
  <source_model>colorbox/source_boolean</source_model>
110
  <comment>
@@ -152,7 +164,7 @@
152
  <show_in_store>1</show_in_store>
153
  </esckey>
154
  <arrowkey translate="label">
155
- <label>scalePhotos</label>
156
  <frontend_type>select</frontend_type>
157
  <source_model>colorbox/source_boolean</source_model>
158
  <comment>
@@ -188,7 +200,7 @@
188
  <show_in_store>1</show_in_store>
189
  <fields>
190
  <current translate="label">
191
- <label>returnFocus</label>
192
  <frontend_type>text</frontend_type>
193
  <comment>
194
  Text or HTML for the group counter while viewing a group. {current} and {total} are detected and replaced with actual numbers while ColorBox runs.
@@ -199,7 +211,7 @@
199
  <show_in_store>1</show_in_store>
200
  </current>
201
  <previous translate="label">
202
- <label>returnFocus</label>
203
  <frontend_type>text</frontend_type>
204
  <comment>
205
  Text or HTML for the previous button while viewing a group.
@@ -210,7 +222,7 @@
210
  <show_in_store>1</show_in_store>
211
  </previous>
212
  <next translate="label">
213
- <label>returnFocus</label>
214
  <frontend_type>text</frontend_type>
215
  <comment>
216
  Text or HTML for the next button while viewing a group.
@@ -221,7 +233,7 @@
221
  <show_in_store>1</show_in_store>
222
  </next>
223
  <close translate="label">
224
- <label>returnFocus</label>
225
  <frontend_type>text</frontend_type>
226
  <comment>
227
  Text or HTML for the close button. The 'esc' key will also close ColorBox.
33
  <show_in_website>1</show_in_website>
34
  <show_in_store>0</show_in_store>
35
  </enable>
36
+ <jquery translate="label">
37
+ <label>jQuery</label>
38
+ <frontend_type>select</frontend_type>
39
+ <source_model>adminhtml/system_config_source_yesno</source_model>
40
+ <comment>
41
+ Include jQuery library or not
42
+ </comment>
43
+ <sort_order>5</sort_order>
44
+ <show_in_default>1</show_in_default>
45
+ <show_in_website>1</show_in_website>
46
+ <show_in_store>0</show_in_store>
47
+ </jquery>
48
  <skin translate="label">
49
  <label>Colorbox skin</label>
50
  <frontend_type>select</frontend_type>
92
  <show_in_store>1</show_in_store>
93
  </scalephotos>
94
  <scrolling translate="label">
95
+ <label>scrolling</label>
96
  <frontend_type>select</frontend_type>
97
  <source_model>colorbox/source_boolean</source_model>
98
  <comment>
104
  <show_in_store>1</show_in_store>
105
  </scrolling>
106
  <opacity translate="label">
107
+ <label>opacity</label>
108
  <frontend_type>select</frontend_type>
109
  <source_model>colorbox/source_boolean</source_model>
110
  <comment>
116
  <show_in_store>1</show_in_store>
117
  </opacity>
118
  <open translate="label">
119
+ <label>open</label>
120
  <frontend_type>select</frontend_type>
121
  <source_model>colorbox/source_boolean</source_model>
122
  <comment>
164
  <show_in_store>1</show_in_store>
165
  </esckey>
166
  <arrowkey translate="label">
167
+ <label>arrowKey</label>
168
  <frontend_type>select</frontend_type>
169
  <source_model>colorbox/source_boolean</source_model>
170
  <comment>
200
  <show_in_store>1</show_in_store>
201
  <fields>
202
  <current translate="label">
203
+ <label>current</label>
204
  <frontend_type>text</frontend_type>
205
  <comment>
206
  Text or HTML for the group counter while viewing a group. {current} and {total} are detected and replaced with actual numbers while ColorBox runs.
211
  <show_in_store>1</show_in_store>
212
  </current>
213
  <previous translate="label">
214
+ <label>previous</label>
215
  <frontend_type>text</frontend_type>
216
  <comment>
217
  Text or HTML for the previous button while viewing a group.
222
  <show_in_store>1</show_in_store>
223
  </previous>
224
  <next translate="label">
225
+ <label>next</label>
226
  <frontend_type>text</frontend_type>
227
  <comment>
228
  Text or HTML for the next button while viewing a group.
233
  <show_in_store>1</show_in_store>
234
  </next>
235
  <close translate="label">
236
+ <label>close</label>
237
  <frontend_type>text</frontend_type>
238
  <comment>
239
  Text or HTML for the close button. The 'esc' key will also close ColorBox.
app/design/frontend/base/default/layout/magazento_colorbox.xml CHANGED
@@ -7,10 +7,6 @@
7
  </catalog_product_view>
8
 
9
  <review_product_list>
10
- <reference name="head">
11
- <action method="addItem" ifconfig="colorbox/settings/enable"><type>skin_css</type><name>css/easylightbox.css</name></action>
12
- <action method="addItem" ifconfig="colorbox/settings/enable"><type>skin_js</type><name>js/lightbox.js</name></action>
13
- </reference>
14
  <reference name="product.info.media">
15
  <action method="setTemplate" ifconfig="colorbox/settings/enable"><template>magazento/colorbox/media.phtml</template></action>
16
  </reference>
7
  </catalog_product_view>
8
 
9
  <review_product_list>
 
 
 
 
10
  <reference name="product.info.media">
11
  <action method="setTemplate" ifconfig="colorbox/settings/enable"><template>magazento/colorbox/media.phtml</template></action>
12
  </reference>
app/design/frontend/base/default/template/magazento/colorbox/media.phtml CHANGED
@@ -1,7 +1,10 @@
1
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
 
 
 
 
2
  <script src="<?php echo $this->getSkinUrl('magazento/colorbox/jquery.colorbox.js') ?>" type="text/javascript"></script>
3
- <link rel="stylesheet"
4
- href="<?php echo $this->getSkinUrl("magazento/colorbox/". Mage::getStoreConfig('colorbox/settings/skin') ."/colorbox.css") ?>" type="text/css" media="screen" />
5
 
6
  <script>
7
  jQuery.noConflict();
1
+ <?php if (Mage::getStoreConfig('colorbox/settings/jquery')): ?>
2
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
3
+ <?php endif; ?>
4
+
5
+
6
  <script src="<?php echo $this->getSkinUrl('magazento/colorbox/jquery.colorbox.js') ?>" type="text/javascript"></script>
7
+ <link rel="stylesheet" href="<?php echo $this->getSkinUrl("magazento/colorbox/". Mage::getStoreConfig('colorbox/settings/skin') ."/colorbox.css") ?>" type="text/css" media="screen" />
 
8
 
9
  <script>
10
  jQuery.noConflict();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>magento_colorbox</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
@@ -9,11 +9,11 @@
9
  <summary>Colorbox Magento integtaion. A lightweight customizable lightbox plugin for Magento.</summary>
10
  <description>Tested in: jQuery 1.4.3+ in Firefox, Safari, Chrome, Internet Explorer 6, 7, 8, 9, Opera 11. &#xD;
11
  Adds Colorbox/Lightbox functionality to images, grouped on product pages. Works for Magento CE 1.4+ and Magento EE 1.9+. Comes with different themes.</description>
12
- <notes>1.0.5</notes>
13
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
14
- <date>2012-08-01</date>
15
- <time>08:36:27</time>
16
- <contents><target name="magecommunity"><dir name="Magazento"><dir name="Colorbox"><dir name="Block"><file name="Developer.php" hash="e528aada4c7131265b139e67911789b2"/></dir><dir name="Helper"><file name="Data.php" hash="35da1a2c8bdb5fda6978d09ac2ed081f"/></dir><dir name="Model"><dir name="Source"><file name="Boolean.php" hash="31ded6c3e83de9588aefee41f087be41"/><file name="Skin.php" hash="e78e4fc350dbcc30597251b4cec6f5e6"/><file name="Transition.php" hash="aeba0a23773251d870d6220fe90cc691"/></dir><file name="List.php" hash="c2cff3c5a744e1c3af5f23c3f5e2da74"/></dir><dir name="etc"><file name="config.xml" hash="672a08221a22427850dfa809e4916c4e"/><file name="system.xml" hash="6a7da58bb6869b0de550916ce9e41ffc"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="magazento"><dir name="colorbox"><file name="magazento.phtml" hash="9527f885460f5dd7ffe41d1600b7006e"/><file name="media.phtml" hash="601bea464452adbae189f93911b249f9"/></dir></dir></dir><dir name="layout"><file name="magazento_colorbox.xml" hash="6eeb577d93e83eeeb3fc2dc91a9bced8"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Colorbox.xml" hash="d0927f9a22b3b668f99057f6018a239f"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magazento"><dir name="colorbox"><dir name="skin1"><dir name="images"><dir name="ie6"><file name="borderBottomCenter.png" hash="1936585831e8bcf4eb5ef1081c8e2574"/><file name="borderBottomLeft.png" hash="7ceeb01563f030dc47837fd8bad29488"/><file name="borderBottomRight.png" hash="297fb77440870d91f519bcecdb312725"/><file name="borderMiddleLeft.png" hash="64df0244eeaade27764d2cf33606527b"/><file name="borderMiddleRight.png" hash="9fa458eaaa35b80b2452f35a1d6b4d0c"/><file name="borderTopCenter.png" hash="01ecb01841270f3a765aadf4900929f3"/><file name="borderTopLeft.png" hash="bf4949b95b09d255edd9bcb8358a3557"/><file name="borderTopRight.png" hash="51315fa19507a33d5f1b5411598593e7"/></dir><file name="border.png" hash="7ca8a1d2eb0763b35c266cd54bee2fa5"/><file name="controls.png" hash="b68b9ecaae424de4862ba0d055b7a560"/><file name="loading.gif" hash="e6611f867d63754b7a2a974fb0a0e7dc"/><file name="loading_background.png" hash="acf427e932fb9413700a4b8b58b41eec"/><file name="overlay.png" hash="790376e15a036959e358a19d4a7ea437"/></dir><file name="colorbox.css" hash="1a7dd23f5d2962260d5bb26a57046db1"/></dir><dir name="skin2"><dir name="images"><file name="controls.png" hash="e9bdd308d0c5978e837e5aba1c5712d6"/><file name="loading.gif" hash="8732a6660b528fadfaeb35bcf568875f"/></dir><file name="colorbox.css" hash="251a08f1ee2c1220805b4cef193a19e0"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><dir name="skin3"><dir name="images"><file name="controls.png" hash="26156c32573f430fc4454fb551ac67f2"/><file name="loading.gif" hash="8732a6660b528fadfaeb35bcf568875f"/></dir><file name="colorbox.css" hash="1862958fc873589e07dc2e12b5faa549"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><dir name="skin4"><dir name="images"><dir name="ie6"><file name="borderBottomCenter.png" hash="3f90207da36603df0c149c492bddbb0c"/><file name="borderBottomLeft.png" hash="3262aa0a44269611921af9ead46f0895"/><file name="borderBottomRight.png" hash="a5f6d0d9be6462600cd30a84faab6363"/><file name="borderMiddleLeft.png" hash="eb8abe31d7b850f14bf5eb4543e8c59d"/><file name="borderMiddleRight.png" hash="b644333625c0412bb2b40e2dc64e60fb"/><file name="borderTopCenter.png" hash="ec720341598256324261994c1ea5afce"/><file name="borderTopLeft.png" hash="748c78f393f4f0894ea38a15400dfb51"/><file name="borderTopRight.png" hash="97c3bc0be76863db1a81cedb8ecb3b92"/></dir><file name="border1.png" hash="416e964cc063395fc2db26e463987609"/><file name="border2.png" hash="50cdcf6bc41aeac05c43095f4074f6f4"/><file name="loading.gif" hash="b5e24db8f84eb4eac09c88f804f36df2"/></dir><file name="colorbox.css" hash="08d9e0000045c2fa70ee6fcb8be26464"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><dir name="skin5"><dir name="images"><file name="border.png" hash="84ac39cb765f507aa1aef0f657c5e4bf"/><file name="controls.png" hash="5aec7ed684b6fe4dbeffabb73378962c"/><file name="loading.gif" hash="e6611f867d63754b7a2a974fb0a0e7dc"/><file name="loading_background.png" hash="7c96a54b079f79d48db5c29c3a538b83"/></dir><file name="colorbox.css" hash="2452c075ac9cf205c13d5b0c459f83b5"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><file name="jquery.colorbox.js" hash="5f6f6fb1da2f569029c97b3832c3fa78"/><file name="logo_onecheckout.jpg" hash="cf71a3d20cf06abaf99521651c2fe3d1"/><file name="logo_pdf.jpg" hash="5a0d745372115da1d61168e2529c0c0d"/><file name="logo_sitemap.jpg" hash="937495eec93cb1640b6244bff4cb31a2"/><file name="menu_box.jpg" hash="e76e4c6b62b096ca87175eb0f5270062"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>magento_colorbox</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
9
  <summary>Colorbox Magento integtaion. A lightweight customizable lightbox plugin for Magento.</summary>
10
  <description>Tested in: jQuery 1.4.3+ in Firefox, Safari, Chrome, Internet Explorer 6, 7, 8, 9, Opera 11. &#xD;
11
  Adds Colorbox/Lightbox functionality to images, grouped on product pages. Works for Magento CE 1.4+ and Magento EE 1.9+. Comes with different themes.</description>
12
+ <notes>1.0.6</notes>
13
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
14
+ <date>2012-08-13</date>
15
+ <time>06:01:19</time>
16
+ <contents><target name="magecommunity"><dir name="Magazento"><dir name="Colorbox"><dir name="Block"><file name="Developer.php" hash="e528aada4c7131265b139e67911789b2"/></dir><dir name="Helper"><file name="Data.php" hash="35da1a2c8bdb5fda6978d09ac2ed081f"/></dir><dir name="Model"><dir name="Source"><file name="Boolean.php" hash="31ded6c3e83de9588aefee41f087be41"/><file name="Skin.php" hash="e78e4fc350dbcc30597251b4cec6f5e6"/><file name="Transition.php" hash="aeba0a23773251d870d6220fe90cc691"/></dir><file name="List.php" hash="c2cff3c5a744e1c3af5f23c3f5e2da74"/></dir><dir name="etc"><file name="config.xml" hash="672a08221a22427850dfa809e4916c4e"/><file name="system.xml" hash="723aa05422b30586f7beec4b2b2384b3"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="magazento"><dir name="colorbox"><file name="magazento.phtml" hash="9527f885460f5dd7ffe41d1600b7006e"/><file name="media.phtml" hash="d4c224d8f3fd0877c30576ea024d856a"/></dir></dir></dir><dir name="layout"><file name="magazento_colorbox.xml" hash="8405d36b91203e066e48d8ce133b61e8"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Colorbox.xml" hash="d0927f9a22b3b668f99057f6018a239f"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magazento"><dir name="colorbox"><dir name="skin1"><dir name="images"><dir name="ie6"><file name="borderBottomCenter.png" hash="1936585831e8bcf4eb5ef1081c8e2574"/><file name="borderBottomLeft.png" hash="7ceeb01563f030dc47837fd8bad29488"/><file name="borderBottomRight.png" hash="297fb77440870d91f519bcecdb312725"/><file name="borderMiddleLeft.png" hash="64df0244eeaade27764d2cf33606527b"/><file name="borderMiddleRight.png" hash="9fa458eaaa35b80b2452f35a1d6b4d0c"/><file name="borderTopCenter.png" hash="01ecb01841270f3a765aadf4900929f3"/><file name="borderTopLeft.png" hash="bf4949b95b09d255edd9bcb8358a3557"/><file name="borderTopRight.png" hash="51315fa19507a33d5f1b5411598593e7"/></dir><file name="border.png" hash="7ca8a1d2eb0763b35c266cd54bee2fa5"/><file name="controls.png" hash="b68b9ecaae424de4862ba0d055b7a560"/><file name="loading.gif" hash="e6611f867d63754b7a2a974fb0a0e7dc"/><file name="loading_background.png" hash="acf427e932fb9413700a4b8b58b41eec"/><file name="overlay.png" hash="790376e15a036959e358a19d4a7ea437"/></dir><file name="colorbox.css" hash="1a7dd23f5d2962260d5bb26a57046db1"/></dir><dir name="skin2"><dir name="images"><file name="controls.png" hash="e9bdd308d0c5978e837e5aba1c5712d6"/><file name="loading.gif" hash="8732a6660b528fadfaeb35bcf568875f"/></dir><file name="colorbox.css" hash="251a08f1ee2c1220805b4cef193a19e0"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><dir name="skin3"><dir name="images"><file name="controls.png" hash="26156c32573f430fc4454fb551ac67f2"/><file name="loading.gif" hash="8732a6660b528fadfaeb35bcf568875f"/></dir><file name="colorbox.css" hash="1862958fc873589e07dc2e12b5faa549"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><dir name="skin4"><dir name="images"><dir name="ie6"><file name="borderBottomCenter.png" hash="3f90207da36603df0c149c492bddbb0c"/><file name="borderBottomLeft.png" hash="3262aa0a44269611921af9ead46f0895"/><file name="borderBottomRight.png" hash="a5f6d0d9be6462600cd30a84faab6363"/><file name="borderMiddleLeft.png" hash="eb8abe31d7b850f14bf5eb4543e8c59d"/><file name="borderMiddleRight.png" hash="b644333625c0412bb2b40e2dc64e60fb"/><file name="borderTopCenter.png" hash="ec720341598256324261994c1ea5afce"/><file name="borderTopLeft.png" hash="748c78f393f4f0894ea38a15400dfb51"/><file name="borderTopRight.png" hash="97c3bc0be76863db1a81cedb8ecb3b92"/></dir><file name="border1.png" hash="416e964cc063395fc2db26e463987609"/><file name="border2.png" hash="50cdcf6bc41aeac05c43095f4074f6f4"/><file name="loading.gif" hash="b5e24db8f84eb4eac09c88f804f36df2"/></dir><file name="colorbox.css" hash="08d9e0000045c2fa70ee6fcb8be26464"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><dir name="skin5"><dir name="images"><file name="border.png" hash="84ac39cb765f507aa1aef0f657c5e4bf"/><file name="controls.png" hash="5aec7ed684b6fe4dbeffabb73378962c"/><file name="loading.gif" hash="e6611f867d63754b7a2a974fb0a0e7dc"/><file name="loading_background.png" hash="7c96a54b079f79d48db5c29c3a538b83"/></dir><file name="colorbox.css" hash="2452c075ac9cf205c13d5b0c459f83b5"/><file name="index.html" hash="78353f64a2cf4a4016a0351ef98328fe"/></dir><file name="jquery.colorbox.js" hash="5f6f6fb1da2f569029c97b3832c3fa78"/><file name="logo_onecheckout.jpg" hash="cf71a3d20cf06abaf99521651c2fe3d1"/><file name="logo_pdf.jpg" hash="5a0d745372115da1d61168e2529c0c0d"/><file name="logo_sitemap.jpg" hash="937495eec93cb1640b6244bff4cb31a2"/><file name="menu_box.jpg" hash="e76e4c6b62b096ca87175eb0f5270062"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>