HusseyCoding_Sirportly - Version 1.2.5

Version Notes

Dataframe frontend product URL's now correct per store

Download this release

Release Info

Developer Hussey Coding
Extension HusseyCoding_Sirportly
Version 1.2.5
Comparing to
See all releases


Code changes from version 1.2.4 to 1.2.5

app/code/community/HusseyCoding/Sirportly/Block/Orders.php CHANGED
@@ -141,7 +141,7 @@ class HusseyCoding_Sirportly_Block_Orders extends Mage_Core_Block_Template
141
  'sku' => $item->getSku(),
142
  'name' => $this->_getProductName($item->getProductId()),
143
  'quantity' => (float) $item->getQtyOrdered(),
144
- 'url' => $this->_getItemUrl($item->getProductId())
145
  );
146
  endforeach;
147
 
@@ -153,10 +153,10 @@ class HusseyCoding_Sirportly_Block_Orders extends Mage_Core_Block_Template
153
  return Mage::helper('core')->currency($price, true, false);
154
  }
155
 
156
- private function _getItemUrl($id)
157
  {
158
  if ((int) Mage::getStoreConfig('sirportly/general/productlinks')):
159
- $product = Mage::getModel('catalog/product')->load($id);
160
  if ($product->getId()):
161
  return $product->getProductUrl(false);
162
  endif;
141
  'sku' => $item->getSku(),
142
  'name' => $this->_getProductName($item->getProductId()),
143
  'quantity' => (float) $item->getQtyOrdered(),
144
+ 'url' => $this->_getItemUrl($item->getProductId(), $order)
145
  );
146
  endforeach;
147
 
153
  return Mage::helper('core')->currency($price, true, false);
154
  }
155
 
156
+ private function _getItemUrl($id, $order)
157
  {
158
  if ((int) Mage::getStoreConfig('sirportly/general/productlinks')):
159
+ $product = Mage::getModel('catalog/product')->setStoreId($order->getStoreId())->load($id);
160
  if ($product->getId()):
161
  return $product->getProductUrl(false);
162
  endif;
app/code/community/HusseyCoding/Sirportly/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <HusseyCoding_Sirportly>
5
- <version>1.2.4</version>
6
  </HusseyCoding_Sirportly>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <HusseyCoding_Sirportly>
5
+ <version>1.2.5</version>
6
  </HusseyCoding_Sirportly>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HusseyCoding_Sirportly</name>
4
- <version>1.2.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Magento to Sirportly ticketing integration.</summary>
10
  <description>Manage Sirportly ticketing directly from the admin sales page. Create and update tickets, grant permissions to tickets to Magento users, create tickets via the contact form, and when payments fail. Also gives a dataframe URL to display order information in Sirportly.</description>
11
- <notes>Added dataframe date and product link formatting</notes>
12
  <authors><author><name>Hussey Coding</name><user>husseycoding</user><email>info@husseycoding.co.uk</email></author></authors>
13
- <date>2015-02-27</date>
14
- <time>09:21:48</time>
15
- <contents><target name="magecommunity"><dir name="HusseyCoding"><dir name="Sirportly"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><dir name="SirportlyTickets"><dir name="NewTicket"><file name="Teams.php" hash="f7a7f65e8625cf3b9058445bf0d8f3e3"/><file name="Users.php" hash="d7a716593560c6878eb66fc430c42235"/></dir><file name="NewTicket.php" hash="f8518605ca4e2be3d016c81758134aef"/><dir name="ReassignTicket"><file name="Teams.php" hash="f3111cf57e6cb963551b9d472274ef68"/><file name="Users.php" hash="1a93cc06137c1a8aae950f997780fdc7"/></dir><file name="ReassignTicket.php" hash="929da4c55aaedae15016910d041a8ed3"/><dir name="UpdateTicket"><file name="Responses.php" hash="0ad06db1985f628f3068abd0f3687f7a"/><file name="Teams.php" hash="57d50af8d240bb61a5f9510b31e471e0"/><file name="Users.php" hash="aee610ed1f056a3f024c3c30e6c92f13"/></dir><file name="UpdateTicket.php" hash="074fa76c1bbe0620b978d9c522da21c9"/></dir><file name="SirportlyTickets.php" hash="b90c33ef75bff17420389a57c345b210"/></dir></dir></dir></dir></dir><file name="DataFrame.php" hash="13128a58407a933e2d3e8093ade30f1c"/><file name="Orders.php" hash="68060a2aa93028544d055b720b7f3e91"/><dir name="Permissions"><dir name="User"><dir name="Edit"><file name="AdminhtmlTabs.php" hash="b4ff2343bfcc9f0a0c23bc00b6907dcc"/><dir name="Tab"><file name="Sirportly.php" hash="b7f7cc6ec5117d19e1fc20a890f02aad"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="OrdersController.php" hash="402142d10e03664ef6dc75e11a163ddf"/><dir name="Sales"><file name="OrderController.php" hash="df9f32c2cf4c72807866e1413aa1c1ed"/></dir><file name="TicketController.php" hash="c3e74986c4d7c79a02a0a8df2564e174"/></dir><dir name="etc"><file name="adminhtml.xml" hash="31ce0056778c58c2430b0b2cccb9b1a5"/><file name="config.xml" hash="e3a05f6f398481633f4c7d8e80b91097"/><file name="system.xml" hash="4b09303efb0f35bd6b7073813107b735"/></dir><dir name="Helper"><file name="CheckoutData.php" hash="eca4b2e3bf850f0f2fff1721a9dea493"/><file name="Data.php" hash="8567dd97865170fde4c2858d0201e49f"/></dir><dir name="Model"><file name="Observer.php" hash="a14e57ea58ba025f62483efd650b55fa"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Date.php" hash="593dc83a5c606a762c8b4feb217964a7"/><dir name="Department"><file name="Contact.php" hash="681e7d40a46fec9fc43690b298fc18d6"/><file name="OrderScreen.php" hash="8366770dddb56bbeaf601ed9dc5ba8d5"/><file name="PaymentFailed.php" hash="3b575ab12bb25c32aec4c62fef6febcd"/></dir><file name="Department.php" hash="f8a708f2e042365bd892bfd1f392fec3"/><file name="Links.php" hash="21f0e2eb5b231179b55cd76204cc1035"/><dir name="Priority"><file name="Contact.php" hash="3415f060eac9c459afc1b0cef7b0a028"/><file name="OrderScreen.php" hash="bba6bc6ce4a79e95feb1470ea7455665"/><file name="PaymentFailed.php" hash="9b251fc35bc2bbc3299a8c1cfc8109c7"/></dir><file name="Priority.php" hash="682065ee3cdcab991e5fd252730c8640"/><dir name="Sla"><file name="OrderScreen.php" hash="1c3dd6fcca20564d2b6f869c723fc936"/></dir><dir name="Status"><file name="Contact.php" hash="47d7f3976f25eff30a2ef816a6682e26"/><file name="OrderScreen.php" hash="f29f5c9314e4e26fbabced9573c2e822"/><file name="PaymentFailed.php" hash="8d625f92c1b5c5119017443b5ad42ff4"/></dir><file name="Status.php" hash="60fd06d1743463ad345afa2cb1827e9d"/><dir name="Team"><file name="Contact.php" hash="d851dd72b7278cf1b755c8bfba869bcc"/><file name="OrderScreen.php" hash="6fdf9a9fe1ab6b6ff3124763012d0845"/><file name="PaymentFailed.php" hash="a54aff316e6f9357c7bc8c1e283cf306"/></dir><file name="Team.php" hash="1b1fc5cfb6c50a74a57aba2252f43874"/></dir></dir></dir></dir><dir name="sql"><dir name="sirportly_setup"><file name="mysql4-upgrade-1.1.0-1.2.0.php" hash="d6e621d7c0bbc250d42637fcc96749c5"/><file name="mysql4-upgrade-1.2.0-1.2.1.php" hash="b936b0b9063cf18faa50cfea6b29ffad"/></dir></dir></dir><dir name="Common"><dir name="etc"><file name="system.xml" hash="6c9ba9f227b9adfc9abf97f17b46fdbf"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="HusseyCoding_Sirportly.xml" hash="a92236145783da6931bf04a2028ae285"/><file name="HusseyCoding_Common.xml" hash="31e82d3d9b3179c2fa9e002f9669da47"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sirportly.xml" hash="7b147117e44fef6266835d00e0ccd4c0"/></dir><dir name="template"><dir name="sirportly"><file name="contact.phtml" hash="6ccfad5b873caa4801fbc8196ec23ee8"/><file name="orders.phtml" hash="6131f893334ae277c7c3c4c3f1a628d9"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sirportly.xml" hash="2b317b7f700972dbbc5dd514b2d1c57d"/></dir><dir name="template"><dir name="sirportly"><file name="dataframe.phtml" hash="63ac83154f3d6c5fe69c4e48cff78099"/><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><dir name="sirportlytickets"><dir name="newticket"><file name="teams.phtml" hash="ee72d305c9a0f2a1c24b9cd170b647f3"/><file name="users.phtml" hash="c7517e0a90187ecda3d6283b20cb35f5"/></dir><file name="newticket.phtml" hash="154b6063eee86a3f81e9f2d2260476c2"/><dir name="reassignticket"><file name="teams.phtml" hash="ee72d305c9a0f2a1c24b9cd170b647f3"/><file name="users.phtml" hash="c7517e0a90187ecda3d6283b20cb35f5"/></dir><file name="reassignticket.phtml" hash="e7ec7da558d6fbff2b82320864c3dbac"/><dir name="updateticket"><file name="responses.phtml" hash="5728d3cc7ac676b23fab4009d5c69eb3"/><file name="teams.phtml" hash="ee72d305c9a0f2a1c24b9cd170b647f3"/><file name="users.phtml" hash="c7517e0a90187ecda3d6283b20cb35f5"/></dir><file name="updateticket.phtml" hash="ea4a209403ab419bc7dd4e93e2cc1455"/></dir><file name="sirportlytickets.phtml" hash="971d19841874f1faf128d0369dabfd9e"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><file name="sirportlysubmit.js" hash="879ecd9e6065fb6dc062d5af452d0832"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="sirportly"><dir name="css"><file name="ordertickets.css" hash="c67409ea88574c5213fa0885fba6dab6"/></dir><dir name="js"><file name="dataframe.js" hash="4f464c3c665eb6c74df0f099bee443d8"/><file name="livepipe.js" hash="417ba064736fed2772778641f66555c0"/><file name="ordertickets.js" hash="66e78fc30ae7e40141474b8502446b8d"/><file name="window.js" hash="f6eba488d6a80e05f59d97a0cef59730"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HusseyCoding_Sirportly</name>
4
+ <version>1.2.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Magento to Sirportly ticketing integration.</summary>
10
  <description>Manage Sirportly ticketing directly from the admin sales page. Create and update tickets, grant permissions to tickets to Magento users, create tickets via the contact form, and when payments fail. Also gives a dataframe URL to display order information in Sirportly.</description>
11
+ <notes>Dataframe frontend product URL's now correct per store</notes>
12
  <authors><author><name>Hussey Coding</name><user>husseycoding</user><email>info@husseycoding.co.uk</email></author></authors>
13
+ <date>2015-03-18</date>
14
+ <time>18:08:23</time>
15
+ <contents><target name="magecommunity"><dir name="HusseyCoding"><dir name="Sirportly"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><dir name="SirportlyTickets"><dir name="NewTicket"><file name="Teams.php" hash="f7a7f65e8625cf3b9058445bf0d8f3e3"/><file name="Users.php" hash="d7a716593560c6878eb66fc430c42235"/></dir><file name="NewTicket.php" hash="f8518605ca4e2be3d016c81758134aef"/><dir name="ReassignTicket"><file name="Teams.php" hash="f3111cf57e6cb963551b9d472274ef68"/><file name="Users.php" hash="1a93cc06137c1a8aae950f997780fdc7"/></dir><file name="ReassignTicket.php" hash="929da4c55aaedae15016910d041a8ed3"/><dir name="UpdateTicket"><file name="Responses.php" hash="0ad06db1985f628f3068abd0f3687f7a"/><file name="Teams.php" hash="57d50af8d240bb61a5f9510b31e471e0"/><file name="Users.php" hash="aee610ed1f056a3f024c3c30e6c92f13"/></dir><file name="UpdateTicket.php" hash="074fa76c1bbe0620b978d9c522da21c9"/></dir><file name="SirportlyTickets.php" hash="b90c33ef75bff17420389a57c345b210"/></dir></dir></dir></dir></dir><file name="DataFrame.php" hash="13128a58407a933e2d3e8093ade30f1c"/><file name="Orders.php" hash="20e7f4e95ad80443ffe49928a3387f7a"/><dir name="Permissions"><dir name="User"><dir name="Edit"><file name="AdminhtmlTabs.php" hash="b4ff2343bfcc9f0a0c23bc00b6907dcc"/><dir name="Tab"><file name="Sirportly.php" hash="b7f7cc6ec5117d19e1fc20a890f02aad"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="OrdersController.php" hash="402142d10e03664ef6dc75e11a163ddf"/><dir name="Sales"><file name="OrderController.php" hash="df9f32c2cf4c72807866e1413aa1c1ed"/></dir><file name="TicketController.php" hash="c3e74986c4d7c79a02a0a8df2564e174"/></dir><dir name="etc"><file name="adminhtml.xml" hash="31ce0056778c58c2430b0b2cccb9b1a5"/><file name="config.xml" hash="57e464213c60af2c4f4dd52419c4269e"/><file name="system.xml" hash="4b09303efb0f35bd6b7073813107b735"/></dir><dir name="Helper"><file name="CheckoutData.php" hash="eca4b2e3bf850f0f2fff1721a9dea493"/><file name="Data.php" hash="8567dd97865170fde4c2858d0201e49f"/></dir><dir name="Model"><file name="Observer.php" hash="a14e57ea58ba025f62483efd650b55fa"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Date.php" hash="593dc83a5c606a762c8b4feb217964a7"/><dir name="Department"><file name="Contact.php" hash="681e7d40a46fec9fc43690b298fc18d6"/><file name="OrderScreen.php" hash="8366770dddb56bbeaf601ed9dc5ba8d5"/><file name="PaymentFailed.php" hash="3b575ab12bb25c32aec4c62fef6febcd"/></dir><file name="Department.php" hash="f8a708f2e042365bd892bfd1f392fec3"/><file name="Links.php" hash="21f0e2eb5b231179b55cd76204cc1035"/><dir name="Priority"><file name="Contact.php" hash="3415f060eac9c459afc1b0cef7b0a028"/><file name="OrderScreen.php" hash="bba6bc6ce4a79e95feb1470ea7455665"/><file name="PaymentFailed.php" hash="9b251fc35bc2bbc3299a8c1cfc8109c7"/></dir><file name="Priority.php" hash="682065ee3cdcab991e5fd252730c8640"/><dir name="Sla"><file name="OrderScreen.php" hash="1c3dd6fcca20564d2b6f869c723fc936"/></dir><dir name="Status"><file name="Contact.php" hash="47d7f3976f25eff30a2ef816a6682e26"/><file name="OrderScreen.php" hash="f29f5c9314e4e26fbabced9573c2e822"/><file name="PaymentFailed.php" hash="8d625f92c1b5c5119017443b5ad42ff4"/></dir><file name="Status.php" hash="60fd06d1743463ad345afa2cb1827e9d"/><dir name="Team"><file name="Contact.php" hash="d851dd72b7278cf1b755c8bfba869bcc"/><file name="OrderScreen.php" hash="6fdf9a9fe1ab6b6ff3124763012d0845"/><file name="PaymentFailed.php" hash="a54aff316e6f9357c7bc8c1e283cf306"/></dir><file name="Team.php" hash="1b1fc5cfb6c50a74a57aba2252f43874"/></dir></dir></dir></dir><dir name="sql"><dir name="sirportly_setup"><file name="mysql4-upgrade-1.1.0-1.2.0.php" hash="d6e621d7c0bbc250d42637fcc96749c5"/><file name="mysql4-upgrade-1.2.0-1.2.1.php" hash="b936b0b9063cf18faa50cfea6b29ffad"/></dir></dir></dir><dir name="Common"><dir name="etc"><file name="system.xml" hash="6c9ba9f227b9adfc9abf97f17b46fdbf"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="HusseyCoding_Sirportly.xml" hash="a92236145783da6931bf04a2028ae285"/><file name="HusseyCoding_Common.xml" hash="31e82d3d9b3179c2fa9e002f9669da47"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sirportly.xml" hash="7b147117e44fef6266835d00e0ccd4c0"/></dir><dir name="template"><dir name="sirportly"><file name="contact.phtml" hash="6ccfad5b873caa4801fbc8196ec23ee8"/><file name="orders.phtml" hash="6131f893334ae277c7c3c4c3f1a628d9"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sirportly.xml" hash="2b317b7f700972dbbc5dd514b2d1c57d"/></dir><dir name="template"><dir name="sirportly"><file name="dataframe.phtml" hash="63ac83154f3d6c5fe69c4e48cff78099"/><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><dir name="sirportlytickets"><dir name="newticket"><file name="teams.phtml" hash="ee72d305c9a0f2a1c24b9cd170b647f3"/><file name="users.phtml" hash="c7517e0a90187ecda3d6283b20cb35f5"/></dir><file name="newticket.phtml" hash="154b6063eee86a3f81e9f2d2260476c2"/><dir name="reassignticket"><file name="teams.phtml" hash="ee72d305c9a0f2a1c24b9cd170b647f3"/><file name="users.phtml" hash="c7517e0a90187ecda3d6283b20cb35f5"/></dir><file name="reassignticket.phtml" hash="e7ec7da558d6fbff2b82320864c3dbac"/><dir name="updateticket"><file name="responses.phtml" hash="5728d3cc7ac676b23fab4009d5c69eb3"/><file name="teams.phtml" hash="ee72d305c9a0f2a1c24b9cd170b647f3"/><file name="users.phtml" hash="c7517e0a90187ecda3d6283b20cb35f5"/></dir><file name="updateticket.phtml" hash="ea4a209403ab419bc7dd4e93e2cc1455"/></dir><file name="sirportlytickets.phtml" hash="971d19841874f1faf128d0369dabfd9e"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><file name="sirportlysubmit.js" hash="879ecd9e6065fb6dc062d5af452d0832"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="sirportly"><dir name="css"><file name="ordertickets.css" hash="c67409ea88574c5213fa0885fba6dab6"/></dir><dir name="js"><file name="dataframe.js" hash="4f464c3c665eb6c74df0f099bee443d8"/><file name="livepipe.js" hash="417ba064736fed2772778641f66555c0"/><file name="ordertickets.js" hash="66e78fc30ae7e40141474b8502446b8d"/><file name="window.js" hash="f6eba488d6a80e05f59d97a0cef59730"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>