NanoRep_Widgets_1_1_0 - Version 2.0.2

Version Notes

new feature: get order status in answer.

Download this release

Release Info

Developer NanoRep
Extension NanoRep_Widgets_1_1_0
Version 2.0.2
Comparing to
See all releases


Code changes from version 2.0.1 to 2.0.2

app/code/local/NanoRep/Widgets/Block/Header.php CHANGED
@@ -102,7 +102,7 @@ class NanoRep_Widgets_Block_Header extends Mage_Core_Block_Template
102
  }
103
  }
104
  if(!empty($orders)){
105
- return Zend_Json::encode($orders);
106
  }
107
 
108
  return "";
@@ -141,7 +141,7 @@ class NanoRep_Widgets_Block_Header extends Mage_Core_Block_Template
141
 
142
  private function _getProductRelatedProducts($product){
143
  if(Mage::getStoreConfigFlag('nanorepwidgets/account_settings/related_products')){
144
- $related_product_collection = $product->getRelatedProductCollection()->addAttributeToSelect("*");
145
  if($related_product_collection->count() > 0){
146
  $related_products = array();
147
  foreach($related_product_collection as $_product){
@@ -154,7 +154,7 @@ class NanoRep_Widgets_Block_Header extends Mage_Core_Block_Template
154
 
155
  private function _getProductUpSellsProducts($product){
156
  if(Mage::getStoreConfigFlag('nanorepwidgets/account_settings/upsells_products')){
157
- $upsells_product_collection = $product->getUpSellProductCollection()->addAttributeToSelect("*");
158
  if($upsells_product_collection->count() > 0){
159
  $upsells_products = array();
160
  foreach($upsells_product_collection as $_product){
@@ -167,7 +167,7 @@ class NanoRep_Widgets_Block_Header extends Mage_Core_Block_Template
167
 
168
  private function _getProductCrossSellProducts($product){
169
  if(Mage::getStoreConfigFlag('nanorepwidgets/account_settings/crosssells_products')){
170
- $crosssells_product_collection = $product->getCrossSellProductCollection()->addAttributeToSelect("*");
171
  if($crosssells_product_collection->count() > 0){
172
  $crosssells_products = array();
173
  foreach($crosssells_product_collection as $_product){
102
  }
103
  }
104
  if(!empty($orders)){
105
+ return $orders;
106
  }
107
 
108
  return "";
141
 
142
  private function _getProductRelatedProducts($product){
143
  if(Mage::getStoreConfigFlag('nanorepwidgets/account_settings/related_products')){
144
+ $related_product_collection = $product->getRelatedProductCollection()->addAttributeToSelect("*")->addStoreFilter();
145
  if($related_product_collection->count() > 0){
146
  $related_products = array();
147
  foreach($related_product_collection as $_product){
154
 
155
  private function _getProductUpSellsProducts($product){
156
  if(Mage::getStoreConfigFlag('nanorepwidgets/account_settings/upsells_products')){
157
+ $upsells_product_collection = $product->getUpSellProductCollection()->addAttributeToSelect("*")->addStoreFilter();
158
  if($upsells_product_collection->count() > 0){
159
  $upsells_products = array();
160
  foreach($upsells_product_collection as $_product){
167
 
168
  private function _getProductCrossSellProducts($product){
169
  if(Mage::getStoreConfigFlag('nanorepwidgets/account_settings/crosssells_products')){
170
+ $crosssells_product_collection = $product->getCrossSellProductCollection()->addAttributeToSelect("*")->addStoreFilter();
171
  if($crosssells_product_collection->count() > 0){
172
  $crosssells_products = array();
173
  foreach($crosssells_product_collection as $_product){
app/code/local/NanoRep/Widgets/Block/Login.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NanoRep Widgets Extension
4
+ *
5
+ * @package NanoRep_Widgets
6
+ * @company nanoRep.
7
+ * @website http://www.nanorep.com
8
+ * @author Dan Aharon-Shalom
9
+ */
10
+
11
+ class NanoRep_Widgets_Block_Login extends Mage_Customer_Block_Form_Login
12
+ {
13
+ /**
14
+ * Retrieve form posting url
15
+ *
16
+ * @return string
17
+ */
18
+ public function getPostActionUrl()
19
+ {
20
+ return Mage::getUrl('nanorep/account/loginPost');
21
+ }
22
+ }
app/code/local/NanoRep/Widgets/controllers/AccountController.php ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NanoRep Widgets Extension
4
+ *
5
+ * @package NanoRep_Widgets
6
+ * @company nanoRep.
7
+ * @website http://www.nanorep.com
8
+ * @author Dan Aharon-Shalom
9
+ */
10
+ class NanoRep_Widgets_AccountController extends Mage_Core_Controller_Front_Action
11
+ {
12
+ /**
13
+ * Action list where need check enabled cookie
14
+ *
15
+ * @var array
16
+ */
17
+ protected $_cookieCheckActions = array('loginPost', 'createpost');
18
+
19
+ /**
20
+ * Retrieve customer session model object
21
+ *
22
+ * @return Mage_Customer_Model_Session
23
+ */
24
+ protected function _getSession()
25
+ {
26
+ return Mage::getSingleton('customer/session');
27
+ }
28
+
29
+ public function indexAction()
30
+ {
31
+ $this->_redirectUrl('nanorep/account/login');
32
+ }
33
+
34
+ /**
35
+ * Action predispatch
36
+ *
37
+ * Check customer authentication for some actions
38
+ */
39
+ public function preDispatch()
40
+ {
41
+ // a brute-force protection here would be nice
42
+
43
+ parent::preDispatch();
44
+
45
+ if (!$this->getRequest()->isDispatched()) {
46
+ return;
47
+ }
48
+
49
+ $action = $this->getRequest()->getActionName();
50
+ $openActions = array(
51
+ 'create',
52
+ 'login',
53
+ 'logoutsuccess',
54
+ 'forgotpassword',
55
+ 'forgotpasswordpost',
56
+ 'resetpassword',
57
+ 'resetpasswordpost',
58
+ 'confirm',
59
+ 'confirmation'
60
+ );
61
+ $pattern = '/^(' . implode('|', $openActions) . ')/i';
62
+
63
+ if (!preg_match($pattern, $action)) {
64
+ if (!$this->_getSession()->authenticate($this)) {
65
+ $this->setFlag('', 'no-dispatch', true);
66
+ }
67
+ } else {
68
+ $this->_getSession()->setNoReferer(true);
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Action postdispatch
74
+ *
75
+ * Remove No-referer flag from customer session after each action
76
+ */
77
+ public function postDispatch()
78
+ {
79
+ parent::postDispatch();
80
+ $this->_getSession()->unsNoReferer(false);
81
+ }
82
+
83
+ /**
84
+ * Login post action
85
+ */
86
+ public function loginPostAction()
87
+ {
88
+ if (!$this->_validateFormKey()) {
89
+ $this->_redirect('nanorep/account/login');
90
+ return;
91
+ }
92
+
93
+ if ($this->_getSession()->isLoggedIn()) {
94
+ $this->_redirect('nanorep/order/list');
95
+ return;
96
+ }
97
+ $session = $this->_getSession();
98
+
99
+ if ($this->getRequest()->isPost()) {
100
+ $login = $this->getRequest()->getPost('login');
101
+ if (!empty($login['username']) && !empty($login['password'])) {
102
+ try {
103
+ $session->login($login['username'], $login['password']);
104
+ // if ($session->getCustomer()->getIsJustConfirmed()) {
105
+ // $this->_welcomeCustomer($session->getCustomer(), true);
106
+ // }
107
+ } catch (Mage_Core_Exception $e) {
108
+ switch ($e->getCode()) {
109
+ case Mage_Customer_Model_Customer::EXCEPTION_EMAIL_NOT_CONFIRMED:
110
+ $value = $this->_getHelper('customer')->getEmailConfirmationUrl($login['username']);
111
+ $message = $this->_getHelper('customer')->__('This account is not confirmed. <a href="%s">Click here</a> to resend confirmation email.', $value);
112
+ break;
113
+ case Mage_Customer_Model_Customer::EXCEPTION_INVALID_EMAIL_OR_PASSWORD:
114
+ $message = $e->getMessage();
115
+ break;
116
+ default:
117
+ $message = $e->getMessage();
118
+ }
119
+ $session->addError($message);
120
+ $session->setUsername($login['username']);
121
+ } catch (Exception $e) {
122
+ // Mage::logException($e); // PA DSS violation: this exception log can disclose customer password
123
+ }
124
+ } else {
125
+ $session->addError($this->__('Login and password are required.'));
126
+ }
127
+ }
128
+
129
+ $this->_loginPostRedirect();
130
+ }
131
+
132
+ /**
133
+ * Define target URL and redirect customer after logging in
134
+ */
135
+ protected function _loginPostRedirect()
136
+ {
137
+ $session = $this->_getSession();
138
+ $referer = 'nanorep/account/login';
139
+ if (!$session->getBeforeAuthUrl() || $session->getBeforeAuthUrl() == Mage::getBaseUrl()) {
140
+ // Set default URL to redirect customer to
141
+ // $session->setBeforeAuthUrl($this->_getHelper('customer')->getAccountUrl());
142
+ // Redirect customer to the last page visited after logging in
143
+ if ($session->isLoggedIn()) {
144
+ $referer = 'nanorep/order/list';
145
+ if ($this->_isUrlInternal($referer)) {
146
+ $session->setBeforeAuthUrl($referer);
147
+ }
148
+ }
149
+ } else {
150
+ $referer = 'nanorep/order/list';
151
+ }
152
+ $this->_redirectUrl($referer);
153
+ }
154
+
155
+ /**
156
+ * Get Helper
157
+ *
158
+ * @param string $path
159
+ * @return Mage_Core_Helper_Abstract
160
+ */
161
+ protected function _getHelper($path)
162
+ {
163
+ return Mage::helper($path);
164
+ }
165
+
166
+ /**
167
+ * Customer login form page
168
+ */
169
+ public function loginAction()
170
+ {
171
+ if ($this->_getSession()->isLoggedIn()) {
172
+ $this->_redirect('nanorep/order/list');
173
+ return;
174
+ }
175
+ $this->getResponse()->setHeader('Login-Required', 'true');
176
+ $this->loadLayout();
177
+ $this->_initLayoutMessages('customer/session');
178
+ $this->_initLayoutMessages('catalog/session');
179
+ $this->renderLayout();
180
+ }
181
+
182
+ }
app/code/local/NanoRep/Widgets/controllers/IndexController.php CHANGED
@@ -47,8 +47,22 @@ class NanoRep_Widgets_IndexController extends Mage_Core_Controller_Front_Action
47
  }
48
  }
49
  public function cdcAction(){
 
 
 
 
 
50
  $this->loadLayout();
51
  $this->renderLayout();
52
  }
53
 
 
 
 
 
 
 
 
 
 
54
  }
47
  }
48
  }
49
  public function cdcAction(){
50
+ if ($this->_getSession()->isLoggedIn()) {
51
+ $this->_redirect('*/*/');
52
+ return;
53
+ }
54
+ $this->getResponse()->setHeader('Login-Required', 'true');
55
  $this->loadLayout();
56
  $this->renderLayout();
57
  }
58
 
59
+ /**
60
+ * Retrieve customer session model object
61
+ *
62
+ * @return Mage_Customer_Model_Session
63
+ */
64
+ protected function _getSession()
65
+ {
66
+ return Mage::getSingleton('customer/session');
67
+ }
68
  }
app/code/local/NanoRep/Widgets/controllers/OrderController.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NanoRep Widgets Extension
4
+ *
5
+ * @package NanoRep_Widgets
6
+ * @company nanoRep.
7
+ * @website http://www.nanorep.com
8
+ * @author Dan Aharon-Shalom
9
+ */
10
+ class NanoRep_Widgets_OrderController extends Mage_Core_Controller_Front_Action
11
+ {
12
+ /**
13
+ * Action predispatch
14
+ *
15
+ * Check customer authentication for some actions
16
+ */
17
+ public function preDispatch()
18
+ {
19
+ parent::preDispatch();
20
+ $action = $this->getRequest()->getActionName();
21
+ $loginUrl = Mage::getUrl('nanorep/account/login');
22
+
23
+ if (!Mage::getSingleton('customer/session')->authenticate($this, $loginUrl)) {
24
+ $this->setFlag('', self::FLAG_NO_DISPATCH, true);
25
+ }
26
+ }
27
+
28
+ public function listAction(){
29
+ $this->loadLayout();
30
+ $this->renderLayout();
31
+ }
32
+ }
app/code/local/NanoRep/Widgets/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <NanoRep_Widgets>
15
- <version>2.0.1</version>
16
  </NanoRep_Widgets>
17
  </modules>
18
  <global>
12
  <config>
13
  <modules>
14
  <NanoRep_Widgets>
15
+ <version>2.0.2</version>
16
  </NanoRep_Widgets>
17
  </modules>
18
  <global>
app/design/frontend/default/default/layout/nanorepwidgets.xml CHANGED
@@ -47,4 +47,24 @@
47
  <nanorepwidgets_index_cdc>
48
  <block type="core/template" name="root" output="toHtml" template="nanorepwidgets/cdc.phtml" />
49
  </nanorepwidgets_index_cdc>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  </layout>
47
  <nanorepwidgets_index_cdc>
48
  <block type="core/template" name="root" output="toHtml" template="nanorepwidgets/cdc.phtml" />
49
  </nanorepwidgets_index_cdc>
50
+
51
+ <nanorepwidgets_account_login>
52
+ <update handle="page_empty" />
53
+ <remove name="nanorep_header_script" />
54
+ <remove name="nanorep_float_widget" />
55
+ <remove name="nanorep_events" />
56
+ <reference name="content">
57
+ <block type="nanorepwidgets/login" template="nanorepwidgets/login.phtml" />
58
+ </reference>
59
+ </nanorepwidgets_account_login>
60
+
61
+ <nanorepwidgets_order_list>
62
+ <update handle="page_empty" />
63
+ <remove name="nanorep_header_script" />
64
+ <remove name="nanorep_float_widget" />
65
+ <remove name="nanorep_events" />
66
+ <reference name="content">
67
+ <block type="sales/order_history" template="nanorepwidgets/order/list.phtml" />
68
+ </reference>
69
+ </nanorepwidgets_order_list>
70
  </layout>
app/design/frontend/default/default/template/nanorepwidgets/events.phtml CHANGED
@@ -36,8 +36,8 @@
36
  // if(results == null){
37
  // results = {1: {title: "Title 1", body: "Body 2"}, 2: {title: "Title 2", body: "Body 2"}};
38
  // }
39
- console.log(query);
40
- console.log(results);
41
  new Ajax.Request('<?php echo $this->helper('nanorepwidgets')->getStoreQueryInCookieUrl()?>', {
42
  method: "post",
43
  parameters: {
36
  // if(results == null){
37
  // results = {1: {title: "Title 1", body: "Body 2"}, 2: {title: "Title 2", body: "Body 2"}};
38
  // }
39
+ // console.log(query);
40
+ // console.log(results);
41
  new Ajax.Request('<?php echo $this->helper('nanorepwidgets')->getStoreQueryInCookieUrl()?>', {
42
  method: "post",
43
  parameters: {
app/design/frontend/default/default/template/nanorepwidgets/header.phtml CHANGED
@@ -45,30 +45,30 @@
45
  (function (){
46
  if (_nRepData["customParams"])
47
  {
48
- if (_nRepData["customParams"]['orders'])
49
- {
50
  var s = [];
51
- var d = _nRepData["customParams"]['orders'];
52
- s.push("<table class='orderNRD' width='100%'><tr class='orders'><th>Order #</th><th>Status</th><th>Details</th></tr>");
53
- for (var i in d)
54
- {
55
- for (var j in d[i])
56
- {
57
- if (isNaN(j)) continue;
58
- var order = d[i][j];
59
- if (typeof (order) != "object") continue;
60
- s.push("<tr><td><b>");
61
- s.push(j);
62
- s.push("</b></td><td>");
63
- s.push(order.status);
64
- s.push("</td><td><a href='");
65
- s.push(order.link);
66
- s.push("'>Click for details</a></td></tr>");
67
- }
68
- }
69
- s.push("</table>");
70
  _nRepData["customParams"]['orders_string'] = s.join('');
71
- }
72
  if (_nRepData["customParams"]['relatedProducts'])
73
  {
74
  parseOrdersNrepData('relatedProducts', "You may also be interested in the following product(s):");
45
  (function (){
46
  if (_nRepData["customParams"])
47
  {
48
+ // if (_nRepData["customParams"]['orders'])
49
+ // {
50
  var s = [];
51
+ // var d = _nRepData["customParams"]['orders'];
52
+ s.push("<iframe src='<?php echo $this->getUrl('nanorep/account/login') ?>' width='100%' height='360px' style='border: none;'/>");
53
+ // for (var i in d)
54
+ // {
55
+ // for (var j in d[i])
56
+ // {
57
+ // if (isNaN(j)) continue;
58
+ // var order = d[i][j];
59
+ // if (typeof (order) != "object") continue;
60
+ // s.push("<tr><td><b>");
61
+ // s.push(j);
62
+ // s.push("</b></td><td>");
63
+ // s.push(order.status);
64
+ // s.push("</td><td><a href='");
65
+ // s.push(order.link);
66
+ // s.push("'>Click for details</a></td></tr>");
67
+ // }
68
+ // }
69
+ // s.push("</table>");
70
  _nRepData["customParams"]['orders_string'] = s.join('');
71
+ // }
72
  if (_nRepData["customParams"]['relatedProducts'])
73
  {
74
  parseOrdersNrepData('relatedProducts', "You may also be interested in the following product(s):");
app/design/frontend/default/default/template/nanorepwidgets/login.phtml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see Mage_Customer_Block_Form_Login
32
+ */
33
+ ?>
34
+ <div class="account-login" style="max-width: 370px;">
35
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
36
+ <?php /* Extensions placeholder */ ?>
37
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
38
+ <?php echo $this->getBlockHtml('formkey'); ?>
39
+ <div class=" registered-users">
40
+ <div class="content">
41
+ <p><?php echo $this->__('To see the status of your orders, please log in:') ?></p>
42
+ <ul class="form-list">
43
+ <li>
44
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
45
+ <div class="input-box">
46
+ <input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
47
+ </div>
48
+ </li>
49
+ <li>
50
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
51
+ <div class="input-box">
52
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
53
+ </div>
54
+ </li>
55
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
56
+ </ul>
57
+ </div>
58
+ </div>
59
+ <div class="registered-users">
60
+ <div class="buttons-set">
61
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" target="_blank" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
62
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
63
+ </div>
64
+ </div>
65
+ </form>
66
+ <script type="text/javascript">
67
+ //<![CDATA[
68
+ var dataForm = new VarienForm('login-form', true);
69
+ //]]>
70
+ </script>
71
+ </div>
app/design/frontend/default/default/template/nanorepwidgets/order/list.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php
32
+ $orders = $this->getOrders();
33
+ if($orders->getSize()):
34
+
35
+ ?>
36
+ <table class="data-table" id="my-orders-table" style="max-width: 370px; height: 100%;">
37
+ <thead>
38
+ <tr>
39
+ <th><?php echo $this->__('Order #') ?></th>
40
+ <th><?php echo $this->__('Date') ?></th>
41
+ <!--<th class="a-center">Shipped To</th>-->
42
+ <th><?php echo $this->__('Total') ?></th>
43
+ <th><?php echo $this->__('Status') ?></th>
44
+ </tr>
45
+ </thead>
46
+ <tbody>
47
+ <?php foreach ($orders as $order): ?>
48
+ <tr>
49
+ <td><a href="<?php echo $this->getUrl('sales/order/view', array('order_id'=>$order->getId())) ?>" target="_blank"><?php echo $order->getRealOrderId() ?></a>&nbsp;</td>
50
+ <td><?php echo date("j M, Y", strtotime($order->getCreatedAt())) ?>&nbsp;</td>
51
+ <!--<td class="a-center">{$page.orders[io].customer}</td>-->
52
+ <td><?php echo $order->getGrandTotal() ?>&nbsp;</td>
53
+ <td><?php echo $order->getStatus() ?>&nbsp;</td>
54
+ </tr>
55
+ <?php endforeach ?>
56
+ </tbody>
57
+ </table>
58
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
59
+ <?php else: ?>
60
+ <p><?php echo $this->__('You have placed no orders yet.') ?></p>
61
+ <?php endif ?>
app/design/frontend/rwd/default/layout/nanorepwidgets.xml CHANGED
@@ -47,4 +47,24 @@
47
  <nanorepwidgets_index_cdc>
48
  <block type="core/template" name="root" output="toHtml" template="nanorepwidgets/cdc.phtml" />
49
  </nanorepwidgets_index_cdc>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  </layout>
47
  <nanorepwidgets_index_cdc>
48
  <block type="core/template" name="root" output="toHtml" template="nanorepwidgets/cdc.phtml" />
49
  </nanorepwidgets_index_cdc>
50
+
51
+ <nanorepwidgets_account_login>
52
+ <update handle="page_empty" />
53
+ <remove name="nanorep_header_script" />
54
+ <remove name="nanorep_float_widget" />
55
+ <remove name="nanorep_events" />
56
+ <reference name="content">
57
+ <block type="nanorepwidgets/login" template="nanorepwidgets/login.phtml" />
58
+ </reference>
59
+ </nanorepwidgets_account_login>
60
+
61
+ <nanorepwidgets_order_list>
62
+ <update handle="page_empty" />
63
+ <remove name="nanorep_header_script" />
64
+ <remove name="nanorep_float_widget" />
65
+ <remove name="nanorep_events" />
66
+ <reference name="content">
67
+ <block type="sales/order_history" template="nanorepwidgets/order/list.phtml" />
68
+ </reference>
69
+ </nanorepwidgets_order_list>
70
  </layout>
app/design/frontend/rwd/default/template/nanorepwidgets/events.phtml CHANGED
@@ -36,8 +36,8 @@
36
  // if(results == null){
37
  // results = {1: {title: "Title 1", body: "Body 2"}, 2: {title: "Title 2", body: "Body 2"}};
38
  // }
39
- console.log(query);
40
- console.log(results);
41
  new Ajax.Request('<?php echo $this->helper('nanorepwidgets')->getStoreQueryInCookieUrl()?>', {
42
  method: "post",
43
  parameters: {
36
  // if(results == null){
37
  // results = {1: {title: "Title 1", body: "Body 2"}, 2: {title: "Title 2", body: "Body 2"}};
38
  // }
39
+ // console.log(query);
40
+ // console.log(results);
41
  new Ajax.Request('<?php echo $this->helper('nanorepwidgets')->getStoreQueryInCookieUrl()?>', {
42
  method: "post",
43
  parameters: {
app/design/frontend/rwd/default/template/nanorepwidgets/header.phtml CHANGED
@@ -45,30 +45,30 @@
45
  (function (){
46
  if (_nRepData["customParams"])
47
  {
48
- if (_nRepData["customParams"]['orders'])
49
- {
50
  var s = [];
51
- var d = _nRepData["customParams"]['orders'];
52
- s.push("<table class='orderNRD' width='100%'><tr class='orders'><th>Order #</th><th>Status</th><th>Details</th></tr>");
53
- for (var i in d)
54
- {
55
- for (var j in d[i])
56
- {
57
- if (isNaN(j)) continue;
58
- var order = d[i][j];
59
- if (typeof (order) != "object") continue;
60
- s.push("<tr><td><b>");
61
- s.push(j);
62
- s.push("</b></td><td>");
63
- s.push(order.status);
64
- s.push("</td><td><a href='");
65
- s.push(order.link);
66
- s.push("'>Click for details</a></td></tr>");
67
- }
68
- }
69
- s.push("</table>");
70
  _nRepData["customParams"]['orders_string'] = s.join('');
71
- }
72
  if (_nRepData["customParams"]['relatedProducts'])
73
  {
74
  parseOrdersNrepData('relatedProducts', "You may also be interested in the following product(s):");
45
  (function (){
46
  if (_nRepData["customParams"])
47
  {
48
+ // if (_nRepData["customParams"]['orders'])
49
+ // {
50
  var s = [];
51
+ // var d = _nRepData["customParams"]['orders'];
52
+ s.push("<iframe src='<?php echo $this->getUrl('nanorep/account/login') ?>' width='100%' height='360px' style='border: none;'/>");
53
+ // for (var i in d)
54
+ // {
55
+ // for (var j in d[i])
56
+ // {
57
+ // if (isNaN(j)) continue;
58
+ // var order = d[i][j];
59
+ // if (typeof (order) != "object") continue;
60
+ // s.push("<tr><td><b>");
61
+ // s.push(j);
62
+ // s.push("</b></td><td>");
63
+ // s.push(order.status);
64
+ // s.push("</td><td><a href='");
65
+ // s.push(order.link);
66
+ // s.push("'>Click for details</a></td></tr>");
67
+ // }
68
+ // }
69
+ // s.push("</table>");
70
  _nRepData["customParams"]['orders_string'] = s.join('');
71
+ // }
72
  if (_nRepData["customParams"]['relatedProducts'])
73
  {
74
  parseOrdersNrepData('relatedProducts', "You may also be interested in the following product(s):");
app/design/frontend/rwd/default/template/nanorepwidgets/login.phtml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see Mage_Customer_Block_Form_Login
32
+ */
33
+ ?>
34
+ <div class="account-login" style="max-width: 370px;">
35
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
36
+ <?php /* Extensions placeholder */ ?>
37
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
38
+ <?php echo $this->getBlockHtml('formkey'); ?>
39
+ <div class=" registered-users">
40
+ <div class="content">
41
+ <p><?php echo $this->__('To see the status of your orders, please log in:') ?></p>
42
+ <ul class="form-list">
43
+ <li>
44
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
45
+ <div class="input-box">
46
+ <input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
47
+ </div>
48
+ </li>
49
+ <li>
50
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
51
+ <div class="input-box">
52
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
53
+ </div>
54
+ </li>
55
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
56
+ </ul>
57
+ </div>
58
+ </div>
59
+ <div class="registered-users">
60
+ <div class="buttons-set">
61
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" target="_blank" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
62
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
63
+ </div>
64
+ </div>
65
+ </form>
66
+ <script type="text/javascript">
67
+ //<![CDATA[
68
+ var dataForm = new VarienForm('login-form', true);
69
+ //]]>
70
+ </script>
71
+ </div>
app/design/frontend/rwd/default/template/nanorepwidgets/order/list.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php
32
+ $orders = $this->getOrders();
33
+ if($orders->getSize()):
34
+
35
+ ?>
36
+ <table class="data-table" id="my-orders-table" style="max-width: 370px; height: 100%;">
37
+ <thead>
38
+ <tr>
39
+ <th><?php echo $this->__('Order #') ?></th>
40
+ <th><?php echo $this->__('Date') ?></th>
41
+ <!--<th class="a-center">Shipped To</th>-->
42
+ <th><?php echo $this->__('Total') ?></th>
43
+ <th><?php echo $this->__('Status') ?></th>
44
+ </tr>
45
+ </thead>
46
+ <tbody>
47
+ <?php foreach ($orders as $order): ?>
48
+ <tr>
49
+ <td><a href="<?php echo $this->getUrl('sales/order/view', array('order_id'=>$order->getId())) ?>" target="_blank"><?php echo $order->getRealOrderId() ?></a>&nbsp;</td>
50
+ <td><?php echo date("j M, Y", strtotime($order->getCreatedAt())) ?>&nbsp;</td>
51
+ <!--<td class="a-center">{$page.orders[io].customer}</td>-->
52
+ <td><?php echo $order->getGrandTotal() ?>&nbsp;</td>
53
+ <td><?php echo $order->getStatus() ?>&nbsp;</td>
54
+ </tr>
55
+ <?php endforeach ?>
56
+ </tbody>
57
+ </table>
58
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
59
+ <?php else: ?>
60
+ <p><?php echo $this->__('You have placed no orders yet.') ?></p>
61
+ <?php endif ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NanoRep_Widgets_1_1_0</name>
4
- <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GPL v3.0</license>
7
  <channel>community</channel>
@@ -45,12 +45,12 @@ Agents get a 360&#xD;
45
  degree view of customers&#x2019; activity before&#xD;
46
  working on cases.&#xD;
47
  </description>
48
- <notes>bug fix: unanswered questions per product on the search report&#xD;
49
  </notes>
50
  <authors><author><name>NanoRep</name><user>avivnanore</user><email>aviv@nanorep.com</email></author></authors>
51
- <date>2014-08-20</date>
52
- <time>21:25:04</time>
53
- <contents><target name="magelocal"><dir name="NanoRep"><dir name="Widgets"><dir name="Block"><dir name="Adminhtml"><dir name="Answer"><dir name="Grid"><file name="Export.php" hash="3c934f7ff615029ebcee9736273c660e"/></dir><file name="Grid.php" hash="e9a6ba6dd9d946784ec710cfeddf9c09"/></dir><file name="Answer.php" hash="2c1b7c5dfdd1485b6c3cd8eb2c134bcd"/><file name="Mynanorep.php" hash="a7aea34f919bc75ca9a2d374a115b3fa"/><dir name="Order"><dir name="Grid"><file name="Export.php" hash="d2e9e76282057ff241fa31477e503f5f"/></dir><file name="Grid.php" hash="b2e2407527e4c9271d5ba20d3ccc786f"/><dir name="View"><file name="Queries.php" hash="7c1c21f3cc8abc848fdf091c8b05d4cf"/></dir></dir><file name="Order.php" hash="39ebfd2fe23db490046ae8e324901b72"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><dir name="Answer"><dir name="Body"><file name="Pretty.php" hash="0a7d01f7ff96b9bace44256e82ab047e"/></dir><file name="Body.php" hash="32323c59c38fc206f2419818ff8e3b90"/><dir name="Title"><file name="Pretty.php" hash="8719656b201622b2609eaeb287ad25ca"/></dir><file name="Title.php" hash="115ee0a85937406fa07e8d439f1e3dbb"/></dir><dir name="Questions"><file name="Pretty.php" hash="3ffd9f82f2c5c2696eed0f35f7109b9e"/></dir><file name="Questions.php" hash="1a979d2272acde87c1e907aa29816c6c"/><dir name="Results"><file name="Pretty.php" hash="54da8e4d7dad33c6ce3ad0ced6e66089"/></dir><file name="Results.php" hash="7ed187664b1883e7ce9890a835e237d9"/></dir></dir></dir></dir></dir><file name="Customerhistoryjson.php" hash="2e6a8dc4c0e5c49639ff088ac3910009"/><file name="Embed.php" hash="d2308942918ab58b9052c4619118afa6"/><file name="Events.php" hash="5f5f965d626c8b73c072db1fca506d4c"/><file name="Float.php" hash="e51c028ad72498a96dcd1b38ae2f18f7"/><file name="Header.php" hash="740ec34301d3738cbd054ed502145868"/><file name="Success.php" hash="9383181f50edf203c457872412de7a0c"/></dir><dir name="Helper"><file name="Data.php" hash="f16dda0d1ce9c3e1c2b367c06c88c084"/></dir><dir name="Model"><file name="Answer.php" hash="3931d7299a746e0ac90a6cae4a154982"/><file name="History.php" hash="0ffa4f8d5366abc1f7702e101cc5a90f"/><file name="Observer.php" hash="dec7cbc2f825f40ec18737b6bead79aa"/><file name="Query.php" hash="c4eaf10c4bae492d782b552550570215"/><dir name="Resource"><dir name="Answer"><file name="Collection.php" hash="d48492102f2c1534f637675d523ffbd5"/></dir><file name="Answer.php" hash="0f79604579c93d4315b62cc23d595a53"/><dir name="Query"><file name="Collection.php" hash="8fd53665b19f3f1bc2cc5bd823aff5a1"/></dir><file name="Query.php" hash="ccc5ae9e2e2f144c37fef2245033911c"/><file name="Setup.php" hash="812ef9ae3c38fe84eda2c702890faac5"/></dir><file name="Session.php" hash="63b7e34c1782e8e376936e7f196b0353"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="03529194354c0557a881305a69158fa5"/><file name="FloatWidgetActivePages.php" hash="e1f7f28f4e3e13ba13e4293eed61a943"/><file name="OrdersStatusActivePages.php" hash="f098536503386289102acfcc19d016a6"/><file name="ProductIdAttribute.php" hash="03c69b051e8ba54e47f87b6f1495c19e"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AnswerController.php" hash="c78297d83f113e8e01cc6b39158bdc66"/><file name="MynanorepController.php" hash="b411ddc154ef98ca3f568daab73fd003"/><file name="OrderController.php" hash="b5484dde49a2ebbcc8b0933bcad4c0bb"/></dir><file name="IndexController.php" hash="0b89743031ac153c1e4e99e40f145c16"/><file name="QueryController.php" hash="58145cd9ff89c0bc7ff078c0d11b4d83"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6b796ffd37d982a516efac2d8870c4dc"/><file name="config.xml" hash="8c167e09687f551a5a94c4304fa096cf"/><file name="system.xml" hash="22d7d892bb3c08dc416f38b64ad1c2eb"/></dir><dir name="sql"><dir name="nanorepwidgets_setup"><file name="install-2.0.0.php" hash="df808cb581bb4e2cf8a03687c2969d1b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NanoRep_Widgets.xml" hash="913abeaceca820e4026066729e8702aa"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="nanorepwidgets.xml" hash="420bdca5200d6ada621629c3fb222035"/></dir><dir name="template"><dir name="nanorepwidgets"><file name="cdc.phtml" hash="587dab4d48df5773746b7ddff0a0165b"/><file name="embed.phtml" hash="aa5aa60733402579a3e15ca08098075d"/><file name="events.phtml" hash="ff40178eae7b67468f689543b9146c3a"/><file name="float.phtml" hash="f0ede0529726201e76f94263a62222d5"/><file name="header.phtml" hash="496642ef60ea17dee20137da26179e5c"/><file name="success.phtml" hash="609ac352097e81029376c1791c24fbb1"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="layout"><file name="nanorepwidgets.xml" hash="420bdca5200d6ada621629c3fb222035"/></dir><dir name="template"><dir name="nanorepwidgets"><file name="cdc.phtml" hash="587dab4d48df5773746b7ddff0a0165b"/><file name="embed.phtml" hash="aa5aa60733402579a3e15ca08098075d"/><file name="events.phtml" hash="ff40178eae7b67468f689543b9146c3a"/><file name="float.phtml" hash="f0ede0529726201e76f94263a62222d5"/><file name="header.phtml" hash="496642ef60ea17dee20137da26179e5c"/><file name="success.phtml" hash="609ac352097e81029376c1791c24fbb1"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir><dir name="default"><dir name="default"><dir name="template"><dir name="nanorepwidgets"><file name="mynanorep.phtml" hash="ecdbcbdfbe5c4e4ed18aaf74492b5adb"/><dir name="order"><dir name="view"><file name="queries.phtml" hash="0c4e8fdd10069b2c14bb2096585eb866"/><dir name="tab"><file name="info.phtml" hash="b7d4f357da6def4bf1d6889ee95f45bb"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="nanorepwidgets.xml" hash="cc7420519fe49a85f9f93cec3064a835"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="nanorepwidgets"><file name="head.css" hash="1779a092e2c2a771a0725e1cdd682a46"/><file name="head.js" hash="8bafa94d8432b42e2e6e7f6af91db39e"/></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="nanorepwidgets"><file name="head.css" hash="1779a092e2c2a771a0725e1cdd682a46"/><file name="head.js" hash="8bafa94d8432b42e2e6e7f6af91db39e"/></dir></dir></dir></dir></target></contents>
54
  <compatible/>
55
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
56
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NanoRep_Widgets_1_1_0</name>
4
+ <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GPL v3.0</license>
7
  <channel>community</channel>
45
  degree view of customers&#x2019; activity before&#xD;
46
  working on cases.&#xD;
47
  </description>
48
+ <notes>new feature: get order status in answer.&#xD;
49
  </notes>
50
  <authors><author><name>NanoRep</name><user>avivnanore</user><email>aviv@nanorep.com</email></author></authors>
51
+ <date>2014-09-10</date>
52
+ <time>08:08:13</time>
53
+ <contents><target name="magelocal"><dir name="NanoRep"><dir name="Widgets"><dir name="Block"><dir name="Adminhtml"><dir name="Answer"><dir name="Grid"><file name="Export.php" hash="3c934f7ff615029ebcee9736273c660e"/></dir><file name="Grid.php" hash="e9a6ba6dd9d946784ec710cfeddf9c09"/></dir><file name="Answer.php" hash="2c1b7c5dfdd1485b6c3cd8eb2c134bcd"/><file name="Mynanorep.php" hash="a7aea34f919bc75ca9a2d374a115b3fa"/><dir name="Order"><dir name="Grid"><file name="Export.php" hash="d2e9e76282057ff241fa31477e503f5f"/></dir><file name="Grid.php" hash="b2e2407527e4c9271d5ba20d3ccc786f"/><dir name="View"><file name="Queries.php" hash="7c1c21f3cc8abc848fdf091c8b05d4cf"/></dir></dir><file name="Order.php" hash="39ebfd2fe23db490046ae8e324901b72"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><dir name="Answer"><dir name="Body"><file name="Pretty.php" hash="0a7d01f7ff96b9bace44256e82ab047e"/></dir><file name="Body.php" hash="32323c59c38fc206f2419818ff8e3b90"/><dir name="Title"><file name="Pretty.php" hash="8719656b201622b2609eaeb287ad25ca"/></dir><file name="Title.php" hash="115ee0a85937406fa07e8d439f1e3dbb"/></dir><dir name="Questions"><file name="Pretty.php" hash="3ffd9f82f2c5c2696eed0f35f7109b9e"/></dir><file name="Questions.php" hash="1a979d2272acde87c1e907aa29816c6c"/><dir name="Results"><file name="Pretty.php" hash="54da8e4d7dad33c6ce3ad0ced6e66089"/></dir><file name="Results.php" hash="7ed187664b1883e7ce9890a835e237d9"/></dir></dir></dir></dir></dir><file name="Customerhistoryjson.php" hash="2e6a8dc4c0e5c49639ff088ac3910009"/><file name="Embed.php" hash="d2308942918ab58b9052c4619118afa6"/><file name="Events.php" hash="5f5f965d626c8b73c072db1fca506d4c"/><file name="Float.php" hash="e51c028ad72498a96dcd1b38ae2f18f7"/><file name="Header.php" hash="88fbe58d72982d15434f4b0d1462942e"/><file name="Login.php" hash="9f9e488dd549d89d68add413bd5c07a4"/><file name="Success.php" hash="9383181f50edf203c457872412de7a0c"/></dir><dir name="Helper"><file name="Data.php" hash="f16dda0d1ce9c3e1c2b367c06c88c084"/></dir><dir name="Model"><file name="Answer.php" hash="3931d7299a746e0ac90a6cae4a154982"/><file name="History.php" hash="0ffa4f8d5366abc1f7702e101cc5a90f"/><file name="Observer.php" hash="dec7cbc2f825f40ec18737b6bead79aa"/><file name="Query.php" hash="c4eaf10c4bae492d782b552550570215"/><dir name="Resource"><dir name="Answer"><file name="Collection.php" hash="d48492102f2c1534f637675d523ffbd5"/></dir><file name="Answer.php" hash="0f79604579c93d4315b62cc23d595a53"/><dir name="Query"><file name="Collection.php" hash="8fd53665b19f3f1bc2cc5bd823aff5a1"/></dir><file name="Query.php" hash="ccc5ae9e2e2f144c37fef2245033911c"/><file name="Setup.php" hash="812ef9ae3c38fe84eda2c702890faac5"/></dir><file name="Session.php" hash="63b7e34c1782e8e376936e7f196b0353"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="03529194354c0557a881305a69158fa5"/><file name="FloatWidgetActivePages.php" hash="e1f7f28f4e3e13ba13e4293eed61a943"/><file name="OrdersStatusActivePages.php" hash="f098536503386289102acfcc19d016a6"/><file name="ProductIdAttribute.php" hash="03c69b051e8ba54e47f87b6f1495c19e"/></dir></dir></dir></dir><dir name="controllers"><file name="AccountController.php" hash="a9853f1e00a0f9429b2e66d20f8a5c16"/><dir name="Adminhtml"><file name="AnswerController.php" hash="c78297d83f113e8e01cc6b39158bdc66"/><file name="MynanorepController.php" hash="b411ddc154ef98ca3f568daab73fd003"/><file name="OrderController.php" hash="b5484dde49a2ebbcc8b0933bcad4c0bb"/></dir><file name="IndexController.php" hash="a88b39a8ee27925df32be3c57f95cbf6"/><file name="OrderController.php" hash="5f0920c026a25aceee8a72770f30bbe2"/><file name="QueryController.php" hash="58145cd9ff89c0bc7ff078c0d11b4d83"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6b796ffd37d982a516efac2d8870c4dc"/><file name="config.xml" hash="1aab3e88b581c4ae67de61e0db7bec02"/><file name="system.xml" hash="22d7d892bb3c08dc416f38b64ad1c2eb"/></dir><dir name="sql"><dir name="nanorepwidgets_setup"><file name="install-2.0.0.php" hash="df808cb581bb4e2cf8a03687c2969d1b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NanoRep_Widgets.xml" hash="913abeaceca820e4026066729e8702aa"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="nanorepwidgets.xml" hash="cb0c460f77b9ff6f9387043a9847ebf5"/></dir><dir name="template"><dir name="nanorepwidgets"><file name="cdc.phtml" hash="587dab4d48df5773746b7ddff0a0165b"/><file name="embed.phtml" hash="aa5aa60733402579a3e15ca08098075d"/><file name="events.phtml" hash="32c2e2b9f798104fb47db6a1a104783c"/><file name="float.phtml" hash="f0ede0529726201e76f94263a62222d5"/><file name="header.phtml" hash="229541d50121a5699b3da610921ff9af"/><file name="login.phtml" hash="614a1e232dc084e781eae2ce2a4e8bf8"/><dir name="order"><file name="list.phtml" hash="83009ccc06d76eacea13c96caaf77c44"/></dir><file name="success.phtml" hash="609ac352097e81029376c1791c24fbb1"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="layout"><file name="nanorepwidgets.xml" hash="cb0c460f77b9ff6f9387043a9847ebf5"/></dir><dir name="template"><dir name="nanorepwidgets"><file name="cdc.phtml" hash="587dab4d48df5773746b7ddff0a0165b"/><file name="embed.phtml" hash="aa5aa60733402579a3e15ca08098075d"/><file name="events.phtml" hash="32c2e2b9f798104fb47db6a1a104783c"/><file name="float.phtml" hash="f0ede0529726201e76f94263a62222d5"/><file name="header.phtml" hash="229541d50121a5699b3da610921ff9af"/><file name="login.phtml" hash="614a1e232dc084e781eae2ce2a4e8bf8"/><dir name="order"><file name="list.phtml" hash="83009ccc06d76eacea13c96caaf77c44"/></dir><file name="success.phtml" hash="609ac352097e81029376c1791c24fbb1"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir><dir name="default"><dir name="default"><dir name="template"><dir name="nanorepwidgets"><file name="mynanorep.phtml" hash="ecdbcbdfbe5c4e4ed18aaf74492b5adb"/><dir name="order"><dir name="view"><file name="queries.phtml" hash="0c4e8fdd10069b2c14bb2096585eb866"/><dir name="tab"><file name="info.phtml" hash="b7d4f357da6def4bf1d6889ee95f45bb"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="nanorepwidgets.xml" hash="cc7420519fe49a85f9f93cec3064a835"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="nanorepwidgets"><file name="head.css" hash="1779a092e2c2a771a0725e1cdd682a46"/><file name="head.js" hash="8bafa94d8432b42e2e6e7f6af91db39e"/></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="nanorepwidgets"><file name="head.css" hash="1779a092e2c2a771a0725e1cdd682a46"/><file name="head.js" hash="8bafa94d8432b42e2e6e7f6af91db39e"/></dir></dir></dir></dir></target></contents>
54
  <compatible/>
55
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
56
  </package>