Version Notes
Print_Science_Designer_Web_to_Print
Download this release
Release Info
Developer | John Weissberg |
Extension | Print_Science_Designer_Web_to_Print |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
- app/code/local/PrintScience/Personalization/Block/Adminhtml/Test.php +1 -1
- app/code/local/PrintScience/Personalization/controllers/Adminhtml/{TestController.php → PersonalizationtestController.php} +1 -1
- app/code/local/PrintScience/Personalization/etc/config.xml +11 -10
- app/design/adminhtml/default/default/template/printscience_personalization/sales/order/view/items/renderer/default.phtml +6 -4
- package.xml +4 -4
app/code/local/PrintScience/Personalization/Block/Adminhtml/Test.php
CHANGED
@@ -26,7 +26,7 @@ class Printscience_Personalization_Block_Adminhtml_Test extends Mage_Adminhtml_B
|
|
26 |
$buttonBlock = $this->getElement()->getForm()->getParent()->getLayout()->createBlock('adminhtml/widget_button');
|
27 |
|
28 |
//$url = Mage::helper("adminhtml")->getUrl("printscience_personalization/test/index");
|
29 |
-
$url = Mage::helper('adminhtml')->getUrl('
|
30 |
$buttonHtml = $this->getLayout()->createBlock('adminhtml/widget_button')
|
31 |
->setType('button')
|
32 |
->setLabel($this->__($title))
|
26 |
$buttonBlock = $this->getElement()->getForm()->getParent()->getLayout()->createBlock('adminhtml/widget_button');
|
27 |
|
28 |
//$url = Mage::helper("adminhtml")->getUrl("printscience_personalization/test/index");
|
29 |
+
$url = Mage::helper('adminhtml')->getUrl('adminhtml/personalizationtest/index');
|
30 |
$buttonHtml = $this->getLayout()->createBlock('adminhtml/widget_button')
|
31 |
->setType('button')
|
32 |
->setLabel($this->__($title))
|
app/code/local/PrintScience/Personalization/controllers/Adminhtml/{TestController.php → PersonalizationtestController.php}
RENAMED
@@ -4,7 +4,7 @@ require_once 'xmlrpc/xmlrpc.inc';
|
|
4 |
* Test the connection
|
5 |
*
|
6 |
*/
|
7 |
-
class
|
8 |
{
|
9 |
|
10 |
public function indexAction()
|
4 |
* Test the connection
|
5 |
*
|
6 |
*/
|
7 |
+
class PrintScience_Personalization_Adminhtml_PersonalizationtestController extends Mage_Adminhtml_Controller_Action
|
8 |
{
|
9 |
|
10 |
public function indexAction()
|
app/code/local/PrintScience/Personalization/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<PrintScience_Personalization>
|
5 |
-
<version>1.1.
|
6 |
</PrintScience_Personalization>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -178,15 +178,16 @@
|
|
178 |
</resources>
|
179 |
</global>
|
180 |
<admin>
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
|
|
190 |
<default>
|
191 |
<catalog>
|
192 |
<personalization>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<PrintScience_Personalization>
|
5 |
+
<version>1.1.6</version>
|
6 |
</PrintScience_Personalization>
|
7 |
</modules>
|
8 |
<frontend>
|
178 |
</resources>
|
179 |
</global>
|
180 |
<admin>
|
181 |
+
<routers>
|
182 |
+
<adminhtml>
|
183 |
+
<args>
|
184 |
+
<modules>
|
185 |
+
<PrintScience_Personalization after="Mage_Adminhtml">PrintScience_Personalization_Adminhtml</PrintScience_Personalization>
|
186 |
+
</modules>
|
187 |
+
</args>
|
188 |
+
</adminhtml>
|
189 |
+
</routers>
|
190 |
+
</admin>
|
191 |
<default>
|
192 |
<catalog>
|
193 |
<personalization>
|
app/design/adminhtml/default/default/template/printscience_personalization/sales/order/view/items/renderer/default.phtml
CHANGED
@@ -7,10 +7,12 @@
|
|
7 |
<?php endif; ?>
|
8 |
<div class="item-text">
|
9 |
<?php echo $this->getColumnHtml($_item, 'name') ?>
|
10 |
-
<?php $personalizationPdfUrls = $this->getPersonalizationPreviewPdfUrl() ?>
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
</div>
|
15 |
<?php if ($this->canDisplayContainer()): ?>
|
16 |
</div>
|
7 |
<?php endif; ?>
|
8 |
<div class="item-text">
|
9 |
<?php echo $this->getColumnHtml($_item, 'name') ?>
|
10 |
+
<?php $personalizationPdfUrls = $this->getPersonalizationPreviewPdfUrl(); ?>
|
11 |
+
<?php if(isset($personalizationPdfUrls) && count($personalizationPdfUrls)>0) { ?>
|
12 |
+
<?php foreach ($personalizationPdfUrls as $key => $personalizationPdfUrl){ ?>
|
13 |
+
<a href="<?php echo $personalizationPdfUrl; ?>" target="_blank"><?php echo $this->__('PDF file'); ?></a>
|
14 |
+
<?php } ?>
|
15 |
+
<?php } ?>
|
16 |
</div>
|
17 |
<?php if ($this->canDisplayContainer()): ?>
|
18 |
</div>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Print_Science_Designer_Web_to_Print</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Print_Science_Designer_Web_to_Print</description>
|
11 |
<notes>Print_Science_Designer_Web_to_Print</notes>
|
12 |
<authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
|
13 |
-
<date>2016-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir><dir name="PrintScience"><dir name="Personalization"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Items"><file name="Renderer.php" hash="e9a0dcb549311ea6f4e3992bbc9a4b5c"/></dir></dir></dir></dir><file name="Test.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Print_Science_Designer_Web_to_Print</name>
|
4 |
+
<version>1.1.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Print_Science_Designer_Web_to_Print</description>
|
11 |
<notes>Print_Science_Designer_Web_to_Print</notes>
|
12 |
<authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
|
13 |
+
<date>2016-05-17</date>
|
14 |
+
<time>06:39:05</time>
|
15 |
+
<contents><target name="magelocal"><dir><dir name="PrintScience"><dir name="Personalization"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Items"><file name="Renderer.php" hash="e9a0dcb549311ea6f4e3992bbc9a4b5c"/></dir></dir></dir></dir><file name="Test.php" hash="4bb6972447a0aadf635f9969c7e8ccac"/></dir><dir name="Checkout"><dir name="Cart"><dir name="Item"><file name="Renderer.php" hash="fed0f0eb45c6dec622233718326cf001"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="01a988d01405340f6527cd9cbb359ca3"/><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="7f039eed45d1db6f3723d067b2ae970d"/><file name="Quote.php" hash="d14fbe62e2a96e4aede13082c16dda30"/><file name="Session.php" hash="0236f26208780df75ca780d40edbe351"/></dir><dir name="Model"><dir name="ApiGateway"><dir name="Response"><file name="Abstract.php" hash="66667fce4c92782faf1d1a92f4c3e339"/><file name="Begin.php" hash="451d64c86ef6aa542ae7cf5949b1b627"/><file name="GetPreview.php" hash="b688de47d3f47ce844c452b3dc077da7"/></dir></dir><file name="ApiGateway.php" hash="9f29b953af024d3a3bf7a5b1dde00cd7"/><file name="Observer.php" hash="97d641cd084690e0ad196dbf6287f669"/><dir name="Override"><dir name="Checkout"><file name="Cart.php" hash="ccece0a4e9fffd6d4b7f1b1a8a97dbd3"/></dir><dir name="Sales"><file name="Quote.php" hash="efb0e7814b593185fc62f0fcaeb84935"/></dir></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="0b1f152cf26c58a92efe4165dc9b3803"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="ApiUrl.php" hash="34eb488ef178104966397f425625534d"/></dir><dir name="Source"><file name="ApiVersion.php" hash="e0248a29ebc88171b7fb51bdbabaca8b"/><file name="WindowType.php" hash="d266f141e63a17c3d68de1a23a31deb6"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="PersonalizationtestController.php" hash="28f7b3df2fc1c632a3bd3e50d2537c92"/></dir><file name="IndexController.php" hash="86005b3402128265bafe9ffe095688e6"/></dir><dir name="etc"><file name="config.xml" hash="59d195348d8789086aff204f81aeb924"/><file name="system.xml" hash="d994c0db968386b5a0a1664c36cc5e28"/></dir><dir name="sql"><dir name="printscience_personalization_setup"><file name="mysql4-install-1.0.18.php" hash="8c7277e4675ef22ba3bc7ada3af71a2e"/><file name="mysql4-install-1.1.1.php" hash="03b9a55f535b49e14530f921948b2cfa"/><file name="mysql4-upgrade-1.0.15-1.0.16.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.16-1.0.17.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.17-1.0.18.php" hash="8c7277e4675ef22ba3bc7ada3af71a2e"/><file name="mysql4-upgrade-1.0.18-1.0.23.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.23-1.0.24.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.24-1.1.1.php" hash="82727316a603b057ac84b556212f56d3"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="03b9a55f535b49e14530f921948b2cfa"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="03b9a55f535b49e14530f921948b2cfa"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="62ba9a43781828e25c1e265f417db9db"/><dir name="view"><file name="addtocart.phtml" hash="a2b8a23bd490798f59fab3c77d77be0c"/><file name="media.phtml" hash="d0526045eca0891155f83aa067484178"/></dir><file name="view.phtml" hash="8b8da3a547a816942bb41cd5b0e10280"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="6158f1d554c38597a62b6120a7bc2b6f"/><file name="default.phtml___" hash="da6d47bb5d36d381e6d33b4f6fe1ce69"/></dir></dir><file name="cart.phtml" hash="661c4c4fcd0be9b709d0c337a3bf336b"/></dir></dir></dir><dir name="layout"><file name="printscience_personalization.xml" hash="4472f61c3bd3a450639b2f4a2ef3f2d5"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="printscience_personalization"><dir name="sales"><dir name="order"><dir name="view"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="afaa8b2e165e4d11cc9e0c98f5789f4f"/></dir></dir></dir></dir></dir></dir></dir><dir name="layout"><file name="printscience_personalization.xml" hash="d0934cc5cfaca9e2d6c687f2fb866943"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="PrintScience_Personalization.csv" hash="fc8365124f21bddca4dfac3d3dbf5b7f"/></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="printscience_personalization"><file name="checkdevice.js" hash="6072832eaf96a9a18ed30f557ed86f98"/><file name="gallery.js" hash="48e8c27701beb67eb1898bb858585058"/><file name="jquery-1.10.1.min.js" hash="33d85132f0154466fc017dd05111873d"/><file name="modalPopLite.css" hash="2739dac0ae24cc8d94b29c053971627c"/><file name="modalPopLite.min.js" hash="0966787a372628f9d6df762dff0f193b"/></dir></dir></dir></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="printscience_personalization"><file name="gallery.css" hash="eccacd49a35d68ef25bc1bf8e292fe98"/><dir name="jquery"><dir name="fancybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_loading.gif" hash="328cc0f6c78211485058d460e80f4fa8"/><file name="fancybox_loading@2x.gif" hash="f92938639fa894a0e8ded1c3368abe98"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/><file name="fancybox_sprite@2x.png" hash="ed9970ce22242421e66ff150aa97fe5f"/><file name="jquery.fancybox.css" hash="6c55951ce1e3115711f63f99b7501f3a"/><file name="jquery.fancybox.js" hash="921e9cb04ad6e2559869ec845c5be39b"/><file name="jquery.fancybox.pack.js" hash="cc9e759f24ba773aeef8a131889d3728"/></dir><dir name="helpers"><file name="fancybox_buttons.png" hash="b448080f8615e664b7788c7003803b59"/><file name="jquery.fancybox-buttons.css" hash="cac75538c2e3ddfadef839feaca8e356"/><file name="jquery.fancybox-buttons.js" hash="f53c246661fb995a3f12e67fa38e0fa0"/><file name="jquery.fancybox-media.js" hash="c017067f48d97ec4a077ccdf056e6a2e"/><file name="jquery.fancybox-thumbs.css" hash="52ddd84a9f42c1d4cd86d518a7f7e8bc"/><file name="jquery.fancybox-thumbs.js" hash="cf1fc1df534eede4cb460c5cbd71aba6"/></dir><file name="jquery-1.10.1.min.js" hash="33d85132f0154466fc017dd05111873d"/><dir name="jquery.cycle"><file name="jquery.cycle.lite.js" hash="3bfb845276cc77bfa5f051b56e207be5"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir><dir name="xmlrpc"><file name="xmlrpc.inc" hash="55ecb2a9f7fc20d53a7b4da9d885e26b"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|