Version Notes
-fixed some notices errors
Download this release
Release Info
Developer | Développeurs EnvoiMoinsCher.com |
Extension | Orbitvu_Sun |
Version | 1.0.10 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.0.10
- app/code/community/Orbitvu/Sun/controllers/OrbitvuAdmin.php +1 -1
- app/code/community/Orbitvu/Sun/controllers/OrbitvuConnect.php +4 -4
- app/code/community/Orbitvu/Sun/controllers/OrbitvuDatabaseInterface.php +1 -1
- app/code/community/Orbitvu/Sun/etc/config.xml +1 -1
- app/code/community/Orbitvu/Sun/sql/sun_setup/mysql4-install-1.0.10.php +24 -0
- app/code/community/Orbitvu/Sun/sql/sun_setup/mysql4-upgrade-1.0.9-1.0.10.php +17 -0
- app/design/frontend/base/default/template/orbitvu/product/view/media.phtml +2 -2
- package.xml +5 -7
app/code/community/Orbitvu/Sun/controllers/OrbitvuAdmin.php
CHANGED
@@ -63,7 +63,7 @@ final class OrbitvuAdmin {
|
|
63 |
}
|
64 |
$this->Connect->ViewerPath = $this->Config->viewers_path;
|
65 |
$this->Connect->DownloadPath = $this->Config->temp_path;
|
66 |
-
$this->Connect->PresentationsPath = $this->Config->presentations_path;
|
67 |
//-------------------------------------------------------------------------------------------------------
|
68 |
$this->driver->SetSUNConnection($this->Connect);
|
69 |
//-------------------------------------------------------------------------------------------------------
|
63 |
}
|
64 |
$this->Connect->ViewerPath = $this->Config->viewers_path;
|
65 |
$this->Connect->DownloadPath = $this->Config->temp_path;
|
66 |
+
$this->Connect->PresentationsPath = property_exists($this->Config, 'presentations_path') ? $this->Config->presentations_path : '';
|
67 |
//-------------------------------------------------------------------------------------------------------
|
68 |
$this->driver->SetSUNConnection($this->Connect);
|
69 |
//-------------------------------------------------------------------------------------------------------
|
app/code/community/Orbitvu/Sun/controllers/OrbitvuConnect.php
CHANGED
@@ -273,7 +273,7 @@ final class Orbitvu {
|
|
273 |
/**/ 'function' => __FUNCTION__,
|
274 |
/**/ 'url' => $url,
|
275 |
/**/ 'headers' => $header,
|
276 |
-
/**/ 'parameters' => $parameters_array,
|
277 |
/**/ 'post' => ($method_post ? 'true' : 'false')
|
278 |
/**/ ));
|
279 |
//----------------------------------------------------------
|
@@ -368,10 +368,10 @@ final class Orbitvu {
|
|
368 |
//---------------------------------------------------------------------------------------------------
|
369 |
$get = $this->CallSUN('plugins/versions/latest', '', false, true);
|
370 |
//-------------------------------------------------------------------------------------------------------
|
371 |
-
$this->plugin_available_version = $get->version;
|
372 |
-
$this->plugin_support = $get->support;
|
373 |
|
374 |
-
if ($get->error) {
|
375 |
return false;
|
376 |
}
|
377 |
//-------------------------------------------------------------------------------------------------------
|
273 |
/**/ 'function' => __FUNCTION__,
|
274 |
/**/ 'url' => $url,
|
275 |
/**/ 'headers' => $header,
|
276 |
+
/**/ 'parameters' => isset($parameters_array) ? $parameters_array : array(),
|
277 |
/**/ 'post' => ($method_post ? 'true' : 'false')
|
278 |
/**/ ));
|
279 |
//----------------------------------------------------------
|
368 |
//---------------------------------------------------------------------------------------------------
|
369 |
$get = $this->CallSUN('plugins/versions/latest', '', false, true);
|
370 |
//-------------------------------------------------------------------------------------------------------
|
371 |
+
$this->plugin_available_version = property_exists($get, 'version') ? $get->version : null;
|
372 |
+
$this->plugin_support = property_exists($get, 'support') ? $get->support : null;
|
373 |
|
374 |
+
if (property_exists($get, 'error') && $get->error) {
|
375 |
return false;
|
376 |
}
|
377 |
//-------------------------------------------------------------------------------------------------------
|
app/code/community/Orbitvu/Sun/controllers/OrbitvuDatabaseInterface.php
CHANGED
@@ -569,7 +569,7 @@ final class OrbitvuDatabaseInterface {
|
|
569 |
//---------------------------------------------------------------------
|
570 |
|
571 |
$query = $this->database->FetchAll($db_query);
|
572 |
-
$query = $query[0];
|
573 |
//-------------------------------------------------------------------------------------------------------
|
574 |
$ret = array();
|
575 |
//-------------------------------------------------------------------------------------------------------
|
569 |
//---------------------------------------------------------------------
|
570 |
|
571 |
$query = $this->database->FetchAll($db_query);
|
572 |
+
$query = isset($query[0]) ? $query[0] : null;
|
573 |
//-------------------------------------------------------------------------------------------------------
|
574 |
$ret = array();
|
575 |
//-------------------------------------------------------------------------------------------------------
|
app/code/community/Orbitvu/Sun/etc/config.xml
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Orbitvu_Sun>
|
12 |
-
<version>1.0.
|
13 |
</Orbitvu_Sun>
|
14 |
</modules>
|
15 |
<global>
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Orbitvu_Sun>
|
12 |
+
<version>1.0.10</version>
|
13 |
</Orbitvu_Sun>
|
14 |
</modules>
|
15 |
<global>
|
app/code/community/Orbitvu/Sun/sql/sun_setup/mysql4-install-1.0.10.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<?php
|
3 |
+
/**
|
4 |
+
* Orbitvu PHP eCommerce Orbitvu DB drivers
|
5 |
+
* @Copyright: Orbitvu Sp. z o.o. is the owner of full rights to this code
|
6 |
+
*
|
7 |
+
* @For: Magento
|
8 |
+
*/
|
9 |
+
|
10 |
+
/*
|
11 |
+
* Start installation
|
12 |
+
*/
|
13 |
+
|
14 |
+
$installer = $this;
|
15 |
+
$installer->startSetup();
|
16 |
+
|
17 |
+
$inc = Mage::getBaseDir('app').'/code/community/Orbitvu/Sun/controllers/OrbitvuAdmin.php';
|
18 |
+
include_once($inc);
|
19 |
+
|
20 |
+
$_Orbitvu = new OrbitvuAdmin(false);
|
21 |
+
$_Orbitvu->Install();
|
22 |
+
|
23 |
+
$installer->endSetup();
|
24 |
+
?>
|
app/code/community/Orbitvu/Sun/sql/sun_setup/mysql4-upgrade-1.0.9-1.0.10.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Orbitvu PHP eCommerce Orbitvu DB drivers
|
4 |
+
* @Copyright: Orbitvu Sp. z o.o. is the owner of full rights to this code
|
5 |
+
*
|
6 |
+
* @For: Magento
|
7 |
+
*/
|
8 |
+
|
9 |
+
/*
|
10 |
+
* Start installation
|
11 |
+
*/
|
12 |
+
|
13 |
+
$installer = $this;
|
14 |
+
$installer->startSetup();
|
15 |
+
|
16 |
+
$installer->endSetup();
|
17 |
+
?>
|
app/design/frontend/base/default/template/orbitvu/product/view/media.phtml
CHANGED
@@ -19,7 +19,7 @@ $images_list = array();
|
|
19 |
$observer = Mage::getSingleton('sun/observer');
|
20 |
$_Orbitvu = $observer->ExtendOrbitvu();
|
21 |
|
22 |
-
if ($_GET['flush'] == 'true') {
|
23 |
$observer->SynchronizeAllThumbnails();
|
24 |
}
|
25 |
//-------------------------------------------------------------------------------------------------------
|
@@ -484,7 +484,7 @@ function orbitvu_stristr(haystack, needle, bool) {
|
|
484 |
* Inject 360
|
485 |
*/
|
486 |
function orbitvu_inject_tour_now() {
|
487 |
-
inject_orbittour_
|
488 |
}
|
489 |
|
490 |
function orbitvu_inject_tour() {
|
19 |
$observer = Mage::getSingleton('sun/observer');
|
20 |
$_Orbitvu = $observer->ExtendOrbitvu();
|
21 |
|
22 |
+
if (isset($_GET['flush']) && $_GET['flush'] == 'true') {
|
23 |
$observer->SynchronizeAllThumbnails();
|
24 |
}
|
25 |
//-------------------------------------------------------------------------------------------------------
|
484 |
* Inject 360
|
485 |
*/
|
486 |
function orbitvu_inject_tour_now() {
|
487 |
+
inject_orbittour_<?= isset($orbittour['uid']) ? $orbittour['uid'] : '' ?>();
|
488 |
}
|
489 |
|
490 |
function orbitvu_inject_tour() {
|
package.xml
CHANGED
@@ -1,20 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Orbitvu_Sun</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Automate and improve your customer's expierience with dynamic zoom, 360°/3D spins, product tours using ORBITVU imaging solution.</summary>
|
10 |
<description>Orbitvu SUN Product Teleporting extension will improve your store product experience with interactive product tours, 360°/3D image spins and dynamic zoom on desktop and mobile. It will automate and facilitate your imaging workflow as never before. This extension is provided by ORBITVU – the global leader for automated imaging solutions.</description>
|
11 |
-
<notes>-
|
12 |
-
-fixed critical error when changed store view
|
13 |
-
-fixed compilation error</notes>
|
14 |
<authors><author><name>Orbitvu</name><user>dev</user><email>dev@orbitvu.com</email></author></authors>
|
15 |
-
<date>2015-09-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="Orbitvu"><dir name="Sun"><dir><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="7400726bd8c37d56465cf19557c44b60"/><file name="Gridrenderer.php" hash="5faf1727cec7245a8da6d60e5d7d8e0f"/></dir></dir><dir name="Tabs"><file name="Tabid.php" hash="fcbed1fa070be0ca4838eb52a16d07ca"/></dir><file name="Tabs.php" hash="71403fb00d7ac0b46ea7fdce66ad55af"/></dir><file name="Delay.php" hash="035d8fca636cce61d33f08200725a5f1"/><file name="Html5.php" hash="208cecc71503046beefa9c02579a8263"/><file name="KeyComment.php" hash="a55dd2bfd936cbf687ed62c9bb163a26"/><file name="Orbittour.php" hash="727eccc98132ca01bd6e83ea8c7b6588"/><dir name="Product"><dir name="View"><file name="Media.php" hash="5f5b110f4b5330e9fd3bd6723eb49d92"/></dir></dir><file name="Scroll.php" hash="6c1413ee3054f871fc5ea989361dad13"/><file name="Syncsku.php" hash="495ac1a5f3a3d8409b1a66f2ca62c40b"/><file name="Teaser.php" hash="8e4070b43b663badab737921742821d7"/></dir><dir name="Helper"><file name="Data.php" hash="2f37cfd7929d5c930af1a1023602bb0d"/></dir><dir name="Model"><file name="Observer.php" hash="1e2693537a0671f5ea9db833076e3742"/><dir name="Resource"><file name="Setup.php" hash="f34f2bf697d3b554f2f90453a9f9203c"/><file name="Sun.php" hash="9fdb47d4318346d2f506e246f37ed0cc"/></dir></dir><dir name="controllers"><file name="OrbitvuAdmin.php" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Orbitvu_Sun</name>
|
4 |
+
<version>1.0.10</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Automate and improve your customer's expierience with dynamic zoom, 360°/3D spins, product tours using ORBITVU imaging solution.</summary>
|
10 |
<description>Orbitvu SUN Product Teleporting extension will improve your store product experience with interactive product tours, 360°/3D image spins and dynamic zoom on desktop and mobile. It will automate and facilitate your imaging workflow as never before. This extension is provided by ORBITVU – the global leader for automated imaging solutions.</description>
|
11 |
+
<notes>-fixed some notices errors</notes>
|
|
|
|
|
12 |
<authors><author><name>Orbitvu</name><user>dev</user><email>dev@orbitvu.com</email></author></authors>
|
13 |
+
<date>2015-09-15</date>
|
14 |
+
<time>12:45:05</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Orbitvu"><dir name="Sun"><dir><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="7400726bd8c37d56465cf19557c44b60"/><file name="Gridrenderer.php" hash="5faf1727cec7245a8da6d60e5d7d8e0f"/></dir></dir><dir name="Tabs"><file name="Tabid.php" hash="fcbed1fa070be0ca4838eb52a16d07ca"/></dir><file name="Tabs.php" hash="71403fb00d7ac0b46ea7fdce66ad55af"/></dir><file name="Delay.php" hash="035d8fca636cce61d33f08200725a5f1"/><file name="Html5.php" hash="208cecc71503046beefa9c02579a8263"/><file name="KeyComment.php" hash="a55dd2bfd936cbf687ed62c9bb163a26"/><file name="Orbittour.php" hash="727eccc98132ca01bd6e83ea8c7b6588"/><dir name="Product"><dir name="View"><file name="Media.php" hash="5f5b110f4b5330e9fd3bd6723eb49d92"/></dir></dir><file name="Scroll.php" hash="6c1413ee3054f871fc5ea989361dad13"/><file name="Syncsku.php" hash="495ac1a5f3a3d8409b1a66f2ca62c40b"/><file name="Teaser.php" hash="8e4070b43b663badab737921742821d7"/></dir><dir name="Helper"><file name="Data.php" hash="2f37cfd7929d5c930af1a1023602bb0d"/></dir><dir name="Model"><file name="Observer.php" hash="1e2693537a0671f5ea9db833076e3742"/><dir name="Resource"><file name="Setup.php" hash="f34f2bf697d3b554f2f90453a9f9203c"/><file name="Sun.php" hash="9fdb47d4318346d2f506e246f37ed0cc"/></dir></dir><dir name="controllers"><file name="OrbitvuAdmin.php" hash="c5eb73bd5b5d01f1f0a477a119f9aa9c"/><file name="OrbitvuConnect.php" hash="2571b84f443fb7d4c3af36f13c5b1ce3"/><file name="OrbitvuDatabaseDriver.php" hash="407d3bdd621bc69b97cbc44f75331ca4"/><file name="OrbitvuDatabaseInterface.php" hash="50775a50ed68e0a266f1fc1e1f2202cc"/><file name="OrbitvuDebugger.php" hash="2a1dd59fa2512a1ce877c5b9b1f8819d"/><file name="OrbitvuTests.php" hash="cdeeeaba1fd5b70ecfaea03e8718cd66"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1e4bf9feb4a3fda1d037eac942357cfc"/><file name="config.xml" hash="284f15b1f3b11245dc8bb2e2d56fb171"/><file name="local.xml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="system.xml" hash="a1955dd0392f17ad7fc8f57f699e183d"/><file name="translations.xml" hash="f27262b561cacd1a2fb1a1e56e0e8946"/></dir><dir name="sql"><dir name="sun_setup"><file name="mysql4-install-1.0.0.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.1.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.10.php" hash="9373e4eeaedb93cdad12a07964d88200"/><file name="mysql4-install-1.0.2.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.3.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.4.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.5.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.6.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.7.php" hash="36faff7b2a28f322aee73d2180632fdd"/><file name="mysql4-install-1.0.8.php" hash="9373e4eeaedb93cdad12a07964d88200"/><file name="mysql4-install-1.0.9.php" hash="9373e4eeaedb93cdad12a07964d88200"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="c06d3cbe9dc35d61e7bc6fdd202c68e7"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="c06d3cbe9dc35d61e7bc6fdd202c68e7"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="c06d3cbe9dc35d61e7bc6fdd202c68e7"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="c06d3cbe9dc35d61e7bc6fdd202c68e7"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="c06d3cbe9dc35d61e7bc6fdd202c68e7"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="a2204f7a4d7fcf05e309614d04318084"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="8a1a419119da4fb35e18df5337de1c20"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="8a1a419119da4fb35e18df5337de1c20"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="8a1a419119da4fb35e18df5337de1c20"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="8a1a419119da4fb35e18df5337de1c20"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sun"><file name="orbitvu.phtml" hash="5e8dc45a3a64c1b34c3769f9d6d28d4f"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sun.xml" hash="ea7cdb4f7d88f32f1872c3f975be5345"/></dir><dir name="template"><dir name="orbitvu"><dir name="product"><dir name="view"><file name="media.phtml" hash="a4ce76e4ef95d18561fbc1e00bc0b63a"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="orbitvu"><file name="black.png" hash="64dcb45b20e5e2e0cc07c62a843f8f68"/><file name="blue.png" hash="fa8b00e52ec0bf7cb9937b1d5789740c"/><file name="loader.gif" hash="875eec6b429c57e0eff9ba7c182072cd"/><file name="logo.png" hash="622ada057aadbe23af717431e85ef94f"/><file name="orbit.png" hash="c390d8598792d9cc86b19e9afef0ea4a"/><file name="placeholder.png" hash="43b6e81dc733e7d8fb279e54b5f39b3f"/><dir><dir name="thumbnails"><file name="index" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><file name="white.png" hash="ff7713f7b45a4b7a4b5d8304eb3c655c"/></dir></target><target name="mage"><dir name="."><file name="crossdomain.xml" hash="3d73360d10233f48441db7ed045c3952"/><file name="ORBITVU-SUN-PRODUCT-TELEPORTING-EN.pdf" hash="069f8c15618e9ffe28dfc1e1efb6adf8"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Orbitvu_Sun.csv" hash="a60459310ed2b1e93062eae927b71979"/></dir></target><target name="mageetc"><dir name="modules"><file name="Orbitvu_Sun.xml" hash="04b339680876cb29b6c59758cfed3b8a"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|