ntoklo_recommendations - Version 1.1.0

Version Notes

Color configuration options

Download this release

Release Info

Developer nToklo
Extension ntoklo_recommendations
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.9 to 1.1.0

app/code/community/Ntoklo/Recommendations/Block/Adminhtml/Widget/Color/Helper.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * nToklo
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * @category Ntoklo
13
+ * @package Ntoklo_Recommendations
14
+ * @copyright Copyright (c) 2013 nToklo (http://ntoklo.com)
15
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
+ * @author nToklo
17
+ */
18
+
19
+ class Ntoklo_Recommendations_Block_Adminhtml_Widget_Color_Helper extends Mage_Adminhtml_Block_Widget {
20
+
21
+ protected $_element;
22
+
23
+ public function prepareElementHtml(Varien_Data_Form_Element_Abstract $element) {
24
+
25
+ $this->_element = $element;
26
+ $this->_elementValueId = "{$element->getId()}";
27
+ $element->setData('after_element_html', $this->toHtml());
28
+ //$element->setValue('');
29
+ return $element;
30
+ }
31
+
32
+ protected function _toHtml() {
33
+ // return $date->getElementHtml();
34
+ }
35
+ }
app/code/community/Ntoklo/Recommendations/Block/Adminhtml/Widget/Type/Helper.php CHANGED
@@ -31,7 +31,8 @@ class Ntoklo_Recommendations_Block_Adminhtml_Widget_Type_Helper extends Mage_Adm
31
  }
32
 
33
  protected function _toHtml() {
34
- return Mage::helper('ntoklo_recommendations')->__('<b style="color:red">Note:</b> A chart is non-personalised. If you place the chart on a Category based page then the chart will reflect the trending products for that category. However, if you put a chart widget on a non-category based page, like the Home page for example, then the chart will show trending products from your whole product catalogue.');
 
35
  }
36
 
37
  }
31
  }
32
 
33
  protected function _toHtml() {
34
+ $html = Mage::helper('ntoklo_recommendations')->__('<b style="color:red">Note:</b> A chart is non-personalised. If you place the chart on a Category based page then the chart will reflect the trending products for that category. However, if you put a chart widget on a non-category based page, like the Home page for example, then the chart will show trending products from your whole product catalogue.');
35
+ return $html;
36
  }
37
 
38
  }
app/code/community/Ntoklo/Recommendations/Block/Chart.php CHANGED
@@ -129,6 +129,14 @@ class Ntoklo_Recommendations_Block_Chart extends Mage_Catalog_Block_Product_Abst
129
  return parent::_beforeToHtml();
130
  }
131
 
 
 
 
 
 
 
 
 
132
  /**
133
  * @return array
134
  */
129
  return parent::_beforeToHtml();
130
  }
131
 
132
+ /**
133
+ * Returns the widget color to be used on frontend
134
+ * @return string
135
+ */
136
+ public function getWidgetColor() {
137
+ return ($this->getData('widget_type') == Ntoklo_Recommendations_Model_Service::CALL_METHOD_CHART) ? $this->getData('widget_color_chart') : $this->getData('widget_color_recommendations');
138
+ }
139
+
140
  /**
141
  * @return array
142
  */
app/code/community/Ntoklo/Recommendations/Model/Observer.php CHANGED
@@ -77,6 +77,7 @@ class Ntoklo_Recommendations_Model_Observer {
77
  'widget_type' => 'recommendation',
78
  'widget_type_helper' => '',
79
  'header_recommendations' => 'Recommendations',
 
80
  'max_products' => '4',
81
  'column_count' => '4',
82
  'cache_lifetime' => ''
@@ -112,6 +113,7 @@ class Ntoklo_Recommendations_Model_Observer {
112
  'widget_type' => 'chart',
113
  'widget_type_helper' => '',
114
  'header_chart' => 'Trending Products',
 
115
  'time_window' => "DAILY",
116
  'max_products' => '4',
117
  'column_count' => '2',
77
  'widget_type' => 'recommendation',
78
  'widget_type_helper' => '',
79
  'header_recommendations' => 'Recommendations',
80
+ 'widget_color_recommendations' => '#d15915',
81
  'max_products' => '4',
82
  'column_count' => '4',
83
  'cache_lifetime' => ''
113
  'widget_type' => 'chart',
114
  'widget_type_helper' => '',
115
  'header_chart' => 'Trending Products',
116
+ 'widget_color_chart' => '#d15915',
117
  'time_window' => "DAILY",
118
  'max_products' => '4',
119
  'column_count' => '2',
app/code/community/Ntoklo/Recommendations/Model/Service.php CHANGED
@@ -144,6 +144,7 @@ class Ntoklo_Recommendations_Model_Service extends Mage_Core_Model_Abstract {
144
  switch ($chart->getData('widget_type')) {
145
  case self::CALL_METHOD_CHART:
146
  foreach ($response['items'] as $item) {
 
147
  Mage::helper('ntoklo_recommendations')->setTrackerId($response['tracker_id'], $chart->getData('widget_type'));
148
  if (array_key_exists('product', $item) && array_key_exists('id', $item['product'])) {
149
  $ids[] = $item['product']['id'];
144
  switch ($chart->getData('widget_type')) {
145
  case self::CALL_METHOD_CHART:
146
  foreach ($response['items'] as $item) {
147
+
148
  Mage::helper('ntoklo_recommendations')->setTrackerId($response['tracker_id'], $chart->getData('widget_type'));
149
  if (array_key_exists('product', $item) && array_key_exists('id', $item['product'])) {
150
  $ids[] = $item['product']['id'];
app/code/community/Ntoklo/Recommendations/Model/Widget/Color.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * nToklo
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * @category Ntoklo
13
+ * @package Ntoklo_Recommendations
14
+ * @copyright Copyright (c) 2013 nToklo (http://ntoklo.com)
15
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
+ * @author nToklo
17
+ */
18
+
19
+ class Ntoklo_Recommendations_Model_Widget_Color {
20
+
21
+ /**
22
+ * Options getter
23
+ *
24
+ * @return array
25
+ */
26
+ public function toOptionArray() {
27
+ return array(
28
+ array('value' => Ntoklo_Recommendations_Model_Service::CALL_METHOD_RECOMMENDATIONS, 'label'=>Mage::helper('ntoklo_recommendations')->__('Recommendations')),
29
+ );
30
+ }
31
+
32
+ /**
33
+ * Get options in "key-value" format
34
+ *
35
+ * @return array
36
+ */
37
+
38
+ }
app/code/community/Ntoklo/Recommendations/etc/config.xml CHANGED
@@ -20,7 +20,7 @@
20
  <config>
21
  <modules>
22
  <Ntoklo_Recommendations>
23
- <version>1.0.9</version>
24
  </Ntoklo_Recommendations>
25
  </modules>
26
  <global>
20
  <config>
21
  <modules>
22
  <Ntoklo_Recommendations>
23
+ <version>1.1.0</version>
24
  </Ntoklo_Recommendations>
25
  </modules>
26
  <global>
app/code/community/Ntoklo/Recommendations/etc/widget.xml CHANGED
@@ -44,6 +44,7 @@
44
  </widget_type>
45
  </depends>
46
  </widget_type_helper>
 
47
  <header_recommendations translate="label description">
48
  <label>Header</label>
49
  <visible>1</visible>
@@ -57,6 +58,7 @@
57
  </widget_type>
58
  </depends>
59
  </header_recommendations>
 
60
  <header_chart translate="label description">
61
  <label>Header</label>
62
  <visible>1</visible>
@@ -70,6 +72,7 @@
70
  </widget_type>
71
  </depends>
72
  </header_chart>
 
73
  <time_window translate="label description">
74
  <label>Time Window</label>
75
  <visible>1</visible>
@@ -109,6 +112,34 @@
109
  <!--</widget_type>-->
110
  <!--</depends>-->
111
  <!--</start_date>-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  <max_products translate="label description">
113
  <label>Max products</label>
114
  <description><![CDATA[Limits the number of products displayed in the widget.]]></description>
@@ -117,6 +148,7 @@
117
  <type>text</type>
118
  <value>4</value>
119
  </max_products>
 
120
  <column_count translate="label description">
121
  <label>Column count</label>
122
  <description><![CDATA[The number of columns used when displaying in <strong>nToklo Grid Template</strong>.]]></description>
44
  </widget_type>
45
  </depends>
46
  </widget_type_helper>
47
+
48
  <header_recommendations translate="label description">
49
  <label>Header</label>
50
  <visible>1</visible>
58
  </widget_type>
59
  </depends>
60
  </header_recommendations>
61
+
62
  <header_chart translate="label description">
63
  <label>Header</label>
64
  <visible>1</visible>
72
  </widget_type>
73
  </depends>
74
  </header_chart>
75
+
76
  <time_window translate="label description">
77
  <label>Time Window</label>
78
  <visible>1</visible>
112
  <!--</widget_type>-->
113
  <!--</depends>-->
114
  <!--</start_date>-->
115
+ <widget_color_chart translate="label description">
116
+ <label>Widget color</label>
117
+ <visible>1</visible>
118
+ <required>1</required>
119
+ <type>text</type>
120
+ <description><![CDATA[Insert your web hex color to change the widget color for eg. #d15915.]]></description>
121
+ <value>#d15915</value>
122
+ <depends>
123
+ <widget_type>
124
+ <value>chart</value>
125
+ </widget_type>
126
+ </depends>
127
+ </widget_color_chart>
128
+
129
+ <widget_color_recommendations translate="label description">
130
+ <label>Widget color</label>
131
+ <visible>1</visible>
132
+ <required>1</required>
133
+ <type>text</type>
134
+ <description><![CDATA[Insert your web hex color to change the widget color eg. #d15915.]]></description>
135
+ <value>#d15915</value>
136
+ <depends>
137
+ <widget_type>
138
+ <value>recommendation</value>
139
+ </widget_type>
140
+ </depends>
141
+ </widget_color_recommendations>
142
+
143
  <max_products translate="label description">
144
  <label>Max products</label>
145
  <description><![CDATA[Limits the number of products displayed in the widget.]]></description>
148
  <type>text</type>
149
  <value>4</value>
150
  </max_products>
151
+
152
  <column_count translate="label description">
153
  <label>Column count</label>
154
  <description><![CDATA[The number of columns used when displaying in <strong>nToklo Grid Template</strong>.]]></description>
app/design/frontend/base/default/template/ntoklo/recommendations/widget/chart_horisontal.phtml CHANGED
@@ -25,7 +25,7 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
25
  <div class="widget-ntoklo-container clearfix" style="clear:both">
26
  <?php $_columnCount = $this->getColumnCount(); ?>
27
  <div class="nt_wrapper nt_grid nt_orange nt_<?php echo $_columnCount ?>_column">
28
- <p class="nt_header"><?php echo $this->getHeader() ?></p>
29
  <div class="nt_widget clearfix">
30
  <?php $i=0; foreach ($_products as $_product):?>
31
  <?php if ($i++%$_columnCount==0): ?>
@@ -36,8 +36,8 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
36
  <a href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"></a>
37
  </div>
38
  <span class="nt_product_title"><?php echo $this->htmlEscape($_product->getName()) ?></span>
39
- <span class="nt_product_price"><?php echo Mage::helper('core')->currency($_product->getFinalPrice()); ?></span>
40
- <a href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="nt_btn">
41
  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="10.853px" height="11.229px" viewBox="0 0 10.853 11.229" enable-background="new 0 0 10.853 11.229" xml:space="preserve">
42
  <g>
43
  <path fill="#fff" d="M8.825,6.164l-4.367,4.361c-0.154,0.154-0.375,0.248-0.603,0.248c-0.229,0-0.449-0.094-0.604-0.248l-0.509-0.502C2.589,9.862,2.495,9.64,2.495,9.413c0-0.229,0.094-0.449,0.248-0.604l3.255-3.255L2.743,2.305c-0.154-0.16-0.248-0.382-0.248-0.609s0.094-0.449,0.248-0.603L3.252,0.59C3.406,0.43,3.627,0.336,3.855,0.336c0.228,0,0.448,0.094,0.603,0.254l4.367,4.361c0.154,0.153,0.248,0.375,0.248,0.603S8.979,6.003,8.825,6.164z"/>
25
  <div class="widget-ntoklo-container clearfix" style="clear:both">
26
  <?php $_columnCount = $this->getColumnCount(); ?>
27
  <div class="nt_wrapper nt_grid nt_orange nt_<?php echo $_columnCount ?>_column">
28
+ <p class="nt_header" style=" background-color: <?php echo $this->getWidgetColor() ?>" ><?php echo $this->getHeader() ?></p>
29
  <div class="nt_widget clearfix">
30
  <?php $i=0; foreach ($_products as $_product):?>
31
  <?php if ($i++%$_columnCount==0): ?>
36
  <a href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"></a>
37
  </div>
38
  <span class="nt_product_title"><?php echo $this->htmlEscape($_product->getName()) ?></span>
39
+ <span style=" color: <?php echo $this->getWidgetColor() ?>" class="nt_product_price"><?php echo Mage::helper('core')->currency($_product->getFinalPrice()); ?></span>
40
+ <a style=" background-color: <?php echo $this->getWidgetColor() ?>" href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="nt_btn">
41
  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="10.853px" height="11.229px" viewBox="0 0 10.853 11.229" enable-background="new 0 0 10.853 11.229" xml:space="preserve">
42
  <g>
43
  <path fill="#fff" d="M8.825,6.164l-4.367,4.361c-0.154,0.154-0.375,0.248-0.603,0.248c-0.229,0-0.449-0.094-0.604-0.248l-0.509-0.502C2.589,9.862,2.495,9.64,2.495,9.413c0-0.229,0.094-0.449,0.248-0.604l3.255-3.255L2.743,2.305c-0.154-0.16-0.248-0.382-0.248-0.609s0.094-0.449,0.248-0.603L3.252,0.59C3.406,0.43,3.627,0.336,3.855,0.336c0.228,0,0.448,0.094,0.603,0.254l4.367,4.361c0.154,0.153,0.248,0.375,0.248,0.603S8.979,6.003,8.825,6.164z"/>
app/design/frontend/base/default/template/ntoklo/recommendations/widget/chart_vertical.phtml CHANGED
@@ -23,18 +23,18 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
23
  <!-- nToklo Chart -->
24
  <div class="widget-ntoklo-container clearfix" style="clear:both">
25
  <div class="nt_wrapper nt_column nt_green nt_img_above">
26
- <p class="nt_header"><?php echo $this->getHeader() ?></p>
27
  <ul class="nt_widget">
28
  <?php $i=0; foreach ($_products as $_item):?>
29
  <li>
30
  <div class="nt_item_wrap">
31
  <div class="nt_img_wrap">
32
- <a href="<?php echo Mage::getUrl($_item->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>"></a>
33
  </div>
34
  <div class="nt_info_wrap">
35
  <span class="nt_product_title"><?php echo $this->htmlEscape($_item->getName()) ?></span>
36
- <span class="nt_product_price"><?php echo Mage::helper('core')->currency($_item->getFinalPrice()); ?></span>
37
- <a href="<?php echo Mage::getUrl($_item->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion nt_btn"><?php echo $this->__('More details') ?></a>
38
  </div>
39
  </div>
40
  </li>
23
  <!-- nToklo Chart -->
24
  <div class="widget-ntoklo-container clearfix" style="clear:both">
25
  <div class="nt_wrapper nt_column nt_green nt_img_above">
26
+ <p class="nt_header" style=" background-color: <?php echo $this->getWidgetColor() ?> "><?php echo $this->getHeader() ?></p>
27
  <ul class="nt_widget">
28
  <?php $i=0; foreach ($_products as $_item):?>
29
  <li>
30
  <div class="nt_item_wrap">
31
  <div class="nt_img_wrap">
32
+ <a href="<?php echo Mage::getUrl($_item->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>"></a>
33
  </div>
34
  <div class="nt_info_wrap">
35
  <span class="nt_product_title"><?php echo $this->htmlEscape($_item->getName()) ?></span>
36
+ <span style="color: <?php echo $this->getWidgetColor() ?>" class="nt_product_price"><?php echo Mage::helper('core')->currency($_item->getFinalPrice()); ?></span>
37
+ <a style=" background-color: <?php echo $this->getWidgetColor() ?>" href="<?php echo Mage::getUrl($_item->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion nt_btn"><?php echo $this->__('More details') ?></a>
38
  </div>
39
  </div>
40
  </li>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ntoklo_recommendations</name>
4
- <version>1.0.9</version>
5
  <stability>stable</stability>
6
  <license>open software license</license>
7
  <channel>community</channel>
@@ -11,11 +11,11 @@
11
  2. Uses the Open Data Alliance Universal Variable - Generats UniversalVariable JSON object and submits it to nToklo for processing to leverage user behaviour.&#xD;
12
  3. Utilises native widgets to render personalised product recommendations and trending product charts through nToklo API&#x2019;s.&#xD;
13
  4. Integrates with your store CMS to account for product categories</description>
14
- <notes>Recommendation widget fetching final price </notes>
15
  <authors><author><name>Fu</name><user>ntoklo</user><email>fu.hoang@ntoklo.com</email></author></authors>
16
- <date>2014-05-29</date>
17
- <time>08:48:35</time>
18
- <contents><target name="magecommunity"><dir name="Ntoklo"><dir name="Recommendations"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Registration.php" hash="6454d0327fb5881aba96beaed86005ac"/></dir></dir></dir></dir><dir name="Widget"><dir name="Date"><file name="Helper.php" hash="29592c951ce694efb69397141a679226"/></dir><dir name="Type"><file name="Helper.php" hash="7003dba7c2b54e7dd03013de2f41a4e1"/></dir></dir></dir><file name="Chart.php" hash="2f1f29ce21a7eaf2cda2f576225de839"/><file name="UniversalVariable.php" hash="5d152104f7b251062ce9827ad05945cc"/></dir><dir name="Helper"><file name="Data.php" hash="07443c67ce8b49310612bf819f2daab8"/></dir><dir name="Model"><dir name="Cache"><file name="UniversalVariable.php" hash="761f465d4fda0e3d48541fc67af5c4b1"/></dir><file name="Observer.php" hash="9a22bdcae4fc457372692b0488f30833"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="c76b856838d10860a74c2ec08d47bc87"/></dir></dir><file name="Service.php" hash="fcaba76a3674be482558e8aa62624ba7"/><file name="UniversalVariable.php" hash="7744caef59b5c3f056f89577c108e0f5"/><dir name="Widget"><file name="Type.php" hash="f399f8084a0c9c270c92e5fccd74e50f"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="aff0945a94da77aab01ef814d14309d5"/><file name="cache.xml" hash="9be6ef2826f8e880e0c2db016787cacf"/><file name="config.xml" hash="07a70f8aa122653049d23a20f0f83f53"/><file name="system.xml" hash="d90aad78d74273219bbeb6bd3b38e477"/><file name="widget.xml" hash="e94eaffd9ce677d742161bca542c069b"/></dir><dir name="sql"><dir name="ntoklo_setup"><file name="mysql4-install-1.0.7.php" hash="96c7c0734c5290210b09dbb96f5cfa34"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ntoklo_Recommendations.xml" hash="d809f1cc3329034ac5d3ffcc4fe40d4c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ntoklo_recommendations.xml" hash="b6649abad9f507fdf0e7b48d11d9a594"/></dir><dir name="template"><dir name="ntoklo"><dir name="recommendations"><file name="universal_variable.phtml" hash="a825bae10ea9f4bd603fa233d2681f93"/><dir name="widget"><file name="chart_horisontal.phtml" hash="4f8e7258e80863431199b9b969d14363"/><file name="chart_review_short.phtml" hash="25a789e2e031e33e6e82fcd8fd73aa23"/><file name="chart_vertical.phtml" hash="1a2f19a8f6141d3cf7d32d4cbc3aa0a2"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="documentation"><file name="readme.html" hash="76a9aa7ea09fbb80af24ce340f498d13"/><dir name="skin"><dir><dir name="img"><file name="cc.png" hash="83f629e3f2c6e94df256a92a0d826079"/><file name="config.png" hash="a0f8540c37bbaa614a6e6818c52b9b1e"/><file name="disablec1.png" hash="3b7a509db5f2228c1187dd169c8a7c34"/><file name="disablec2.png" hash="ce25b484b08735a1890a4871eefd23ef"/><file name="logo.png" hash="5bbc2b3e56f571eb96923185485c3a27"/><file name="widgets_1.png" hash="61c6c6acc64e9bad49e2546d43032767"/><file name="widgets_2.png" hash="a357562e6cb535458c30f8a6c53bd44d"/><file name="widgets_3.png" hash="cc6ec6b496b03e516c29eb8ed63aa7a9"/><file name="widgets_4.png" hash="1feb96648e38c0e95629bf897baeb26b"/></dir></dir><file name="style.css" hash="f544a9e3edc200affa0a9be9af98e878"/></dir></dir><dir name="js"><dir name="ntoklo"><file name="util.js" hash="9cea20bac53b7f7890613e18fd4c5275"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="ntoklo"><file name="custom.css" hash="12162eb47db3f45433dd08c536f99182"/><file name="global.css" hash="fd2d2b773d3ce16d41488e9051bad8c8"/><file name="widget.css" hash="2d1a9869e0c5e857965d4158535237f2"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ntoklo_recommendations</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license>open software license</license>
7
  <channel>community</channel>
11
  2. Uses the Open Data Alliance Universal Variable - Generats UniversalVariable JSON object and submits it to nToklo for processing to leverage user behaviour.&#xD;
12
  3. Utilises native widgets to render personalised product recommendations and trending product charts through nToklo API&#x2019;s.&#xD;
13
  4. Integrates with your store CMS to account for product categories</description>
14
+ <notes>Color configuration options</notes>
15
  <authors><author><name>Fu</name><user>ntoklo</user><email>fu.hoang@ntoklo.com</email></author></authors>
16
+ <date>2014-07-14</date>
17
+ <time>09:30:14</time>
18
+ <contents><target name="magecommunity"><dir name="Ntoklo"><dir name="Recommendations"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Registration.php" hash="6454d0327fb5881aba96beaed86005ac"/></dir></dir></dir></dir><dir name="Widget"><dir name="Color"><file name="Helper.php" hash="1c4904bb47589542401263480591a933"/></dir><dir name="Date"><file name="Helper.php" hash="29592c951ce694efb69397141a679226"/></dir><dir name="Type"><file name="Helper.php" hash="af54dfb2a4dd16295484e2f07ba0df6c"/></dir></dir></dir><file name="Chart.php" hash="26a6c4de1c75ccb79a990206f53657f1"/><file name="UniversalVariable.php" hash="5d152104f7b251062ce9827ad05945cc"/></dir><dir name="Helper"><file name="Data.php" hash="07443c67ce8b49310612bf819f2daab8"/></dir><dir name="Model"><dir name="Cache"><file name="UniversalVariable.php" hash="761f465d4fda0e3d48541fc67af5c4b1"/></dir><file name="Observer.php" hash="573f0925408a41f8e0b4032d45fbc301"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="c76b856838d10860a74c2ec08d47bc87"/></dir></dir><file name="Service.php" hash="bbc18a59769c9f45a2ea0e9cd31ca290"/><file name="UniversalVariable.php" hash="7744caef59b5c3f056f89577c108e0f5"/><dir name="Widget"><file name="Color.php" hash="03dc0047eb5914c18e97b84e244077c3"/><file name="Type.php" hash="f399f8084a0c9c270c92e5fccd74e50f"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="aff0945a94da77aab01ef814d14309d5"/><file name="cache.xml" hash="9be6ef2826f8e880e0c2db016787cacf"/><file name="config.xml" hash="4139426055be93f73b9c40677439dab5"/><file name="system.xml" hash="d90aad78d74273219bbeb6bd3b38e477"/><file name="widget.xml" hash="03208ca9c734ff7b9641e7501197c081"/></dir><dir name="sql"><dir name="ntoklo_setup"><file name="mysql4-install-1.0.7.php" hash="96c7c0734c5290210b09dbb96f5cfa34"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ntoklo_Recommendations.xml" hash="d809f1cc3329034ac5d3ffcc4fe40d4c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ntoklo_recommendations.xml" hash="b6649abad9f507fdf0e7b48d11d9a594"/></dir><dir name="template"><dir name="ntoklo"><dir name="recommendations"><file name="universal_variable.phtml" hash="a825bae10ea9f4bd603fa233d2681f93"/><dir name="widget"><file name="chart_horisontal.phtml" hash="d0adefca90db68946c8b190b14470997"/><file name="chart_review_short.phtml" hash="25a789e2e031e33e6e82fcd8fd73aa23"/><file name="chart_vertical.phtml" hash="2fc407250d963a30fa957313edbf2e15"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="documentation"><file name="readme.html" hash="76a9aa7ea09fbb80af24ce340f498d13"/><dir name="skin"><dir><dir name="img"><file name="cc.png" hash="83f629e3f2c6e94df256a92a0d826079"/><file name="config.png" hash="a0f8540c37bbaa614a6e6818c52b9b1e"/><file name="disablec1.png" hash="3b7a509db5f2228c1187dd169c8a7c34"/><file name="disablec2.png" hash="ce25b484b08735a1890a4871eefd23ef"/><file name="logo.png" hash="5bbc2b3e56f571eb96923185485c3a27"/><file name="widgets_1.png" hash="61c6c6acc64e9bad49e2546d43032767"/><file name="widgets_2.png" hash="a357562e6cb535458c30f8a6c53bd44d"/><file name="widgets_3.png" hash="cc6ec6b496b03e516c29eb8ed63aa7a9"/><file name="widgets_4.png" hash="1feb96648e38c0e95629bf897baeb26b"/></dir></dir><file name="style.css" hash="f544a9e3edc200affa0a9be9af98e878"/></dir></dir><dir name="js"><dir name="ntoklo"><file name="util.js" hash="9cea20bac53b7f7890613e18fd4c5275"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="ntoklo"><file name="custom.css" hash="12162eb47db3f45433dd08c536f99182"/><file name="global.css" hash="fd2d2b773d3ce16d41488e9051bad8c8"/><file name="widget.css" hash="2d1a9869e0c5e857965d4158535237f2"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>