Goodvidio_Gallery - Version 1.0.0

Version Notes

* 1.0.0 - Stable Release
* 0.1.0 - Initial Release

Download this release

Release Info

Developer Goodvidio
Extension Goodvidio_Gallery
Version 1.0.0
Comparing to
See all releases


Code changes from version 0.1.0 to 1.0.0

app/code/community/Goodvidio/Gallery/Block/Gallery.php DELETED
@@ -1,44 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * MIT License
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- *
24
- * @package Goodvidio_Gallery
25
- * @author Goodvidio
26
- * @license https://opensource.org/licenses/MIT MIT License
27
- * @copyright Copyright (c) 2016 Goodvidio (http://www.goodvid.io)
28
- */
29
- class Goodvidio_Gallery_Block_Gallery extends Mage_Core_Block_Template
30
- {
31
- public function getProduct() {
32
- return Mage::registry('current_product');
33
- }
34
-
35
- public function getSelector() {
36
- return Mage::getStoreConfig('integration/gallery/selector');
37
- }
38
-
39
- public function getPosition() {
40
- return Mage::getStoreConfig('integration/gallery/selectortype') === '0' ?
41
- 'before' :
42
- 'after';
43
- }
44
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Goodvidio/Gallery/Model/System/Config/Source/Selectortype.php DELETED
@@ -1,48 +0,0 @@
1
- <?php
2
- /**
3
- * MIT License
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in all
13
- * copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- * SOFTWARE.
22
- *
23
- * @package Goodvidio_Gallery
24
- * @author Goodvidio
25
- * @license https://opensource.org/licenses/MIT MIT License
26
- * @copyright Copyright (c) 2016 Goodvidio (http://www.goodvid.io)
27
- */
28
- class Goodvidio_Gallery_Model_System_Config_Source_Selectortype
29
- {
30
- /**
31
- * Retrieve Check Type Option array
32
- *
33
- * @return array
34
- */
35
- public function toOptionArray()
36
- {
37
- return array(
38
- array(
39
- 'value' => 0,
40
- 'label' => 'Before'
41
- ),
42
- array(
43
- 'value' => 1,
44
- 'label' => 'After'
45
- ),
46
- );
47
- }
48
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Goodvidio/Gallery/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Goodvidio_Gallery>
5
- <version>0.1.0</version>
6
  </Goodvidio_Gallery>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Goodvidio_Gallery>
5
+ <version>1.0.0</version>
6
  </Goodvidio_Gallery>
7
  </modules>
8
  <frontend>
app/code/community/Goodvidio/Gallery/etc/system.xml CHANGED
@@ -43,33 +43,6 @@
43
  </domain_override>
44
  </fields>
45
  </general>
46
- <gallery translate="label">
47
- <label>Goodvidio gallery</label>
48
- <sort_order>0</sort_order>
49
- <show_in_default>1</show_in_default>
50
- <show_in_website>1</show_in_website>
51
- <show_in_store>1</show_in_store>
52
- <fields>
53
- <selector translate="label">
54
- <label>CSS Selector</label>
55
- <comment>Enter a CSS selector for a DOM element to display the Goodvidio gallery. If you need help with this, you can contact the customer success team through the Goodvidio app.</comment>
56
- <sort_order>10</sort_order>
57
- <show_in_default>1</show_in_default>
58
- <show_in_website>1</show_in_website>
59
- <show_in_store>1</show_in_store>
60
- </selector>
61
- <selectortype translate="label">
62
- <label>Position</label>
63
- <comment>Select the position of the Goodvidio gallery relative to the selected DOM element.</comment>
64
- <frontend_type>select</frontend_type>
65
- <source_model>goodvidiogallery/system_config_source_selectortype</source_model>
66
- <sort_order>20</sort_order>
67
- <show_in_default>1</show_in_default>
68
- <show_in_website>1</show_in_website>
69
- <show_in_store>1</show_in_store>
70
- </selectortype>
71
- </fields>
72
- </gallery>
73
  <ecommercetracking translate="label">
74
  <label>Ecommerce transaction tracking</label>
75
  <sort_order>10</sort_order>
43
  </domain_override>
44
  </fields>
45
  </general>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  <ecommercetracking translate="label">
47
  <label>Ecommerce transaction tracking</label>
48
  <sort_order>10</sort_order>
app/design/frontend/base/default/layout/goodvidio_gallery.xml CHANGED
@@ -3,11 +3,6 @@
3
 
4
  <default>
5
  <reference name="footer">
6
- <block
7
- type="goodvidiogallery/gallery"
8
- name="goodvidiogallery_gallery"
9
- template="goodvidiogallery/gallery.phtml"
10
- before="goodvidiogallery_script"/>
11
  <block
12
  type="goodvidiogallery/script"
13
  name="goodvidiogallery_script"
3
 
4
  <default>
5
  <reference name="footer">
 
 
 
 
 
6
  <block
7
  type="goodvidiogallery/script"
8
  name="goodvidiogallery_script"
app/design/frontend/base/default/template/goodvidiogallery/gallery.phtml DELETED
@@ -1,23 +0,0 @@
1
- <?php if($this->getProduct()): ?>
2
- <script>
3
- (function() {
4
- var tc_goodvidio_div_main = document.querySelectorAll("<?= $this->getSelector(); ?>")[0];
5
- if (typeof tc_goodvidio_div_main != "undefined" && tc_goodvidio_div_main != null) {
6
- var goodvidio_div1 = document.createElement("div");
7
- goodvidio_div1.id = "goodvidio-product-videos";
8
-
9
- <?php if($this->getPosition() === "before"): ?>
10
- tc_goodvidio_div_main.parentNode.insertBefore(goodvidio_div1, tc_goodvidio_div_main);
11
- <?php elseif($this->getPosition() === "after"): ?>
12
- tc_goodvidio_div_main.parentNode.insertBefore(goodvidio_div1, tc_goodvidio_div_main.nextSibling);
13
- <?php endif; ?>
14
-
15
- var goodvidio_div2 = document.createElement("div");
16
- goodvidio_div2.id = "tc_div_325_1";
17
- goodvidio_div2.className = "goodvidio-product-track";
18
- goodvidio_div2.setAttribute("data-goodvidio-product-id", <?= $this->getProduct()->getSku(); ?>);
19
- goodvidio_div1.appendChild(goodvidio_div2);
20
- }
21
- })();
22
- </script>
23
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/etc/modules/Goodvidio_Gallery.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Goodvidio_Gallery>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- <version>0.1.0</version>
8
  </Goodvidio_Gallery>
9
  </modules>
10
- </config>
4
  <Goodvidio_Gallery>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>1.0.0</version>
8
  </Goodvidio_Gallery>
9
  </modules>
10
+ </config>
package.xml CHANGED
@@ -1,23 +1,23 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Goodvidio_Gallery</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/MIT">MITL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Increase sales with the most relevant product videos brought automatically from YouTube to your product pages.</summary>
10
- <description>Goodvidio gives you an easy and fast way to add the most relevant product videos from YouTube to your product pages. &#xD;
11
  &#xD;
12
- Grow sales and increase conversion rate +74% with the best review, unboxing, and how-to product videos made by brands, experts and consumers on YouTube. Engage shoppers with product videos that positively impact purchase intent and improve customer experience. Increase session duration by +340% and pages per session by +127%. &#xD;
13
  &#xD;
14
- You don&#x2019;t need to spend hours searching for good product videos on social media that you can add to your online store. With Goodvidio, you can automatically discover, filter, curate and publish videos on your product pages, while also get actionable data on shopper behavior, engagement and conversion that you can use to maximize results. Get beautiful product video galleries that look good on your product pages on any device (mobile, tablet, laptop&#x2026;). &#xD;
15
- </description>
16
- <notes>* 0.1.0 - Initial Release</notes>
17
  <authors><author><name>Goodvidio</name><user>goodvidio</user><email>admin@goodvid.io</email></author></authors>
18
- <date>2016-05-18</date>
19
- <time>13:41:02</time>
20
- <contents><target name="magecommunity"><dir><dir name="Goodvidio"><dir name="Gallery"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Info.php" hash="396f8e7fb5476b005f2d35b9674d2f0e"/></dir></dir></dir><dir name="Checkout"><file name="Success.php" hash="05896b3da0a10cbc1bb9d6fbbd4765ab"/><file name="Track.php" hash="39a280dc6ff27d1be2c1b0c3f112480d"/></dir><file name="Gallery.php" hash="071f1461edb328459f0dbbbfc1a59ab4"/><file name="Script.php" hash="9924743a2632d67c20560c466e453479"/></dir><dir name="Helper"><file name="Data.php" hash="57c799a50f7bb2662270c09342e87291"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Selectortype.php" hash="aac9be6e09004f138f2c322a630bcec6"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="0e55af14f862fcf9850d578ff6b9c312"/><file name="config.xml" hash="1c34c5fc075992bcbf1a0452707c0724"/><file name="system.xml" hash="b65ca11b7c818835bb478b930a99cb5c"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Goodvidio_Gallery.xml" hash="ff385f0c5832a930a46efc151f24e1a7"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="goodvidio_gallery.xml" hash="09ba43b9b48436bb855fb434738e3f1b"/></dir><dir name="template"><dir name="goodvidiogallery"><dir name="checkout"><file name="success.phtml" hash="ab701488a7732a0b7fd75a2abefd5687"/><file name="track.phtml" hash="f5317882ac345b90cde615a5968e5421"/></dir><file name="gallery.phtml" hash="8c3dd47971bdb6957e629e3fe7881d6e"/><file name="script.phtml" hash="e0efe700fe8bd6bc54f792ce303a0d2b"/></dir></dir></dir></dir></dir></dir></target></contents>
21
  <compatible/>
22
- <dependencies><required><php><min>5.4.0</min><max>5.6.21</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Goodvidio_Gallery</name>
4
+ <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/MIT">MITL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Increase sales with the most relevant product videos brought automatically from YouTube to your product pages.</summary>
10
+ <description>Goodvidio gives you an easy and fast way to add the most relevant product videos from YouTube to your product pages.&#xD;
11
  &#xD;
12
+ Grow sales and increase conversion rate +74% with the best review, unboxing, and how-to product videos made by brands, experts and consumers on YouTube. Engage shoppers with product videos that positively impact purchase intent and improve customer experience. Increase session duration by +340% and pages per session by +127%.&#xD;
13
  &#xD;
14
+ You don't need to spend hours searching for good product videos on social media that you can add to your online store. With Goodvidio, you can automatically discover, filter, curate and publish videos on your product pages, while also get actionable data on shopper behavior, engagement and conversion that you can use to maximize results. Get beautiful product video galleries that look good on your product pages on any device (mobile, tablet, laptop).</description>
15
+ <notes>* 1.0.0 - Stable Release&#xD;
16
+ * 0.1.0 - Initial Release</notes>
17
  <authors><author><name>Goodvidio</name><user>goodvidio</user><email>admin@goodvid.io</email></author></authors>
18
+ <date>2016-10-10</date>
19
+ <time>13:07:54</time>
20
+ <contents><target name="magecommunity"><dir><dir name="Goodvidio"><dir name="Gallery"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Info.php" hash="396f8e7fb5476b005f2d35b9674d2f0e"/></dir></dir></dir><dir name="Checkout"><file name="Success.php" hash="05896b3da0a10cbc1bb9d6fbbd4765ab"/><file name="Track.php" hash="39a280dc6ff27d1be2c1b0c3f112480d"/></dir><file name="Script.php" hash="9924743a2632d67c20560c466e453479"/></dir><dir name="Helper"><file name="Data.php" hash="57c799a50f7bb2662270c09342e87291"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0e55af14f862fcf9850d578ff6b9c312"/><file name="config.xml" hash="29aa606d8742ca0d85cf03318dda8291"/><file name="system.xml" hash="aeefa9e5f5173701ae4f12f476451a11"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Goodvidio_Gallery.xml" hash="c2a80fabaf8673f9a70dd262b3997376"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="goodvidio_gallery.xml" hash="91deb495f303ff013d7afcee5638c61b"/></dir><dir name="template"><dir name="goodvidiogallery"><dir name="checkout"><file name="success.phtml" hash="ab701488a7732a0b7fd75a2abefd5687"/><file name="track.phtml" hash="f5317882ac345b90cde615a5968e5421"/></dir><file name="script.phtml" hash="e0efe700fe8bd6bc54f792ce303a0d2b"/></dir></dir></dir></dir></dir></dir></target></contents>
21
  <compatible/>
22
+ <dependencies><required><php><min>5.4.0</min><max>7.0.10</max></php></required></dependencies>
23
  </package>