Version Notes
This extension is compatible with magento CE 1.4 to 1.7
Download this release
Release Info
Developer | Magento Core Team |
Extension | Dolphin_QuickWatch |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Dolphin/QuickWatch/controllers/ProductController.php
CHANGED
@@ -7,8 +7,9 @@ class Dolphin_QuickWatch_ProductController extends Mage_Catalog_ProductControlle
|
|
7 |
if(($url = $this->getRequest()->getParam('url')) != null){
|
8 |
$loadUrl = str_replace($_SERVER['HTTP_HOST']."/","",$url);
|
9 |
Mage::unregister('currentrefererurl');
|
10 |
-
|
11 |
-
|
|
|
12 |
$product = Mage::getSingleton('catalog/product')->load($pid->getProductId());
|
13 |
Mage::register('current_product', $product);
|
14 |
Mage::register('product', $product);
|
7 |
if(($url = $this->getRequest()->getParam('url')) != null){
|
8 |
$loadUrl = str_replace($_SERVER['HTTP_HOST']."/","",$url);
|
9 |
Mage::unregister('currentrefererurl');
|
10 |
+
$urlParts = explode("/",$loadUrl);
|
11 |
+
Mage::register('currentrefererurl',"/".end($urlParts));
|
12 |
+
$pid = Mage::helper('dqwatch')->loadUrl(end($urlParts));
|
13 |
$product = Mage::getSingleton('catalog/product')->load($pid->getProductId());
|
14 |
Mage::register('current_product', $product);
|
15 |
Mage::register('product', $product);
|
app/code/community/Dolphin/QuickWatch/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Dolphin_QuickWatch>
|
5 |
-
<version>1.0.
|
6 |
</Dolphin_QuickWatch>
|
7 |
</modules>
|
8 |
<global>
|
@@ -39,7 +39,7 @@
|
|
39 |
<catalog>
|
40 |
<quickwatch>
|
41 |
<enabled>0</enabled>
|
42 |
-
<width>
|
43 |
<height>600</height>
|
44 |
</quickwatch>
|
45 |
</catalog>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Dolphin_QuickWatch>
|
5 |
+
<version>1.0.1</version>
|
6 |
</Dolphin_QuickWatch>
|
7 |
</modules>
|
8 |
<global>
|
39 |
<catalog>
|
40 |
<quickwatch>
|
41 |
<enabled>0</enabled>
|
42 |
+
<width>900</width>
|
43 |
<height>600</height>
|
44 |
</quickwatch>
|
45 |
</catalog>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dolphin_QuickWatch</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -21,8 +21,8 @@ Using prototype o avoid javascript conflict and errors.</description>
|
|
21 |
<notes>This extension is compatible with magento CE 1.4 to 1.7</notes>
|
22 |
<authors><author><name>ankitdolphin</name><user>auto-converted</user><email>ankit@dolphinwebsolution.com</email></author></authors>
|
23 |
<date>2013-05-08</date>
|
24 |
-
<time>
|
25 |
-
<contents><target name="magecommunity"><dir name="Dolphin"><dir name="QuickWatch"><dir name="Helper"><file name="Data.php" hash="03201ad617d23c03b335321c897014ac"/></dir><dir name="controllers"><dir name="Product"><file name="CompareController.php" hash="cf8ca765f8ef3fe33ee9781554e40c83"/></dir><file name="ProductController.php" hash="
|
26 |
<compatible/>
|
27 |
<dependencies/>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dolphin_QuickWatch</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
21 |
<notes>This extension is compatible with magento CE 1.4 to 1.7</notes>
|
22 |
<authors><author><name>ankitdolphin</name><user>auto-converted</user><email>ankit@dolphinwebsolution.com</email></author></authors>
|
23 |
<date>2013-05-08</date>
|
24 |
+
<time>09:36:36</time>
|
25 |
+
<contents><target name="magecommunity"><dir name="Dolphin"><dir name="QuickWatch"><dir name="Helper"><file name="Data.php" hash="03201ad617d23c03b335321c897014ac"/></dir><dir name="controllers"><dir name="Product"><file name="CompareController.php" hash="cf8ca765f8ef3fe33ee9781554e40c83"/></dir><file name="ProductController.php" hash="32dd990a8cd76f0b096b662a2e31b8c4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3a5d3e52ee95fc524fee26098179f6c"/><file name="config.xml" hash="92bc373cf09bcc675a49aa1ee26caa88"/><file name="system.xml" hash="6928ad06a9944dfc81fbfd4eddd1341f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Dolphin_QuickWatch.xml" hash="d18575c5234a02995466569649852b2c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="dqwatch.xml" hash="636d7e4e179f415b39712f5bf8a45b01"/></dir><dir name="template"><dir name="dqwatch"><file name="init.phtml" hash="21ae2da9ce41fd57029f206afcadaa9f"/><file name="proccessoutput.phtml" hash="e70f3d779e991ff16480563691639143"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="dqwatch"><file name="DQWATCH.js" hash="cd05241849fdce56acb7fb47459284fe"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="dolphin"><dir name="quickwatch"><dir name="images"><file name="button.png" hash="eac974e3768fef61fc96976ffc5c9bb7"/></dir><file name="style.css" hash="40d134de7f1f23e24a7bcb16cf338bd4"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="lib"><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="ewthemes"><dir name="style2"><dir name="images"><file name="content_bg.gif" hash="f7090a07b6ac7dab50b167358d63c611"/><file name="window_close.png" hash="8373f064167681436658b16921953211"/></dir><file name="default.css" hash="f9fe4040b6990d038aa4f3c6ab532873"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
26 |
<compatible/>
|
27 |
<dependencies/>
|
28 |
</package>
|